Enum magick_rust::bindings::PixelChannel
source · #[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 copy 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
source§fn eq(&self, other: &PixelChannel) -> bool
fn eq(&self, other: &PixelChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)