#[repr(u32)]pub enum PixelChannel {
Show 13 variants
Undefined = 0,
a = 1,
b = 2,
Black = 3,
Alpha = 4,
Index = 5,
ReadMask = 6,
WriteMask = 7,
Meta = 8,
CompositeMask = 9,
MetaPixelChannels = 10,
Intensity = 64,
Sync = 65,
}
Variants§
Undefined = 0
a = 1
b = 2
Black = 3
Alpha = 4
Index = 5
ReadMask = 6
WriteMask = 7
Meta = 8
CompositeMask = 9
MetaPixelChannels = 10
Intensity = 64
Sync = 65
Implementations§
Source§impl PixelChannel
impl PixelChannel
pub const Red: PixelChannel = PixelChannel::Undefined
Source§impl PixelChannel
impl PixelChannel
pub const Cyan: PixelChannel = PixelChannel::Undefined
Source§impl PixelChannel
impl PixelChannel
pub const Gray: PixelChannel = PixelChannel::Undefined
Source§impl PixelChannel
impl PixelChannel
pub const L: PixelChannel = PixelChannel::Undefined
Source§impl PixelChannel
impl PixelChannel
pub const Label: PixelChannel = PixelChannel::Undefined
Source§impl PixelChannel
impl PixelChannel
pub const Y: PixelChannel = PixelChannel::Undefined
Source§impl PixelChannel
impl PixelChannel
pub const Green: PixelChannel = PixelChannel::a
Source§impl PixelChannel
impl PixelChannel
pub const Magenta: PixelChannel = PixelChannel::a
Source§impl PixelChannel
impl PixelChannel
pub const Cb: PixelChannel = PixelChannel::a
Source§impl PixelChannel
impl PixelChannel
pub const Blue: PixelChannel = PixelChannel::b
Source§impl PixelChannel
impl PixelChannel
pub const Yellow: PixelChannel = PixelChannel::b
Source§impl PixelChannel
impl PixelChannel
pub const Cr: PixelChannel = PixelChannel::b
Source§impl PixelChannel
impl PixelChannel
pub const Composite: PixelChannel = PixelChannel::Intensity
Trait Implementations§
Source§impl Clone for PixelChannel
impl Clone for PixelChannel
Source§fn clone(&self) -> PixelChannel
fn clone(&self) -> PixelChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PixelChannel
impl Debug for PixelChannel
Source§impl Hash for PixelChannel
impl Hash for PixelChannel
Source§impl PartialEq for PixelChannel
impl PartialEq for PixelChannel
impl Copy for PixelChannel
impl Eq for PixelChannel
impl StructuralPartialEq for PixelChannel
Auto Trait Implementations§
impl Freeze for PixelChannel
impl RefUnwindSafe for PixelChannel
impl Send for PixelChannel
impl Sync for PixelChannel
impl Unpin for PixelChannel
impl UnwindSafe for PixelChannel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more