#[repr(u32)]pub enum ImageChannelOrder {
Show 19 variants
R = 0,
A = 1,
RG = 2,
RA = 3,
RGB = 4,
RGBA = 5,
BGRA = 6,
ARGB = 7,
Intensity = 8,
Luminance = 9,
Rx = 10,
RGx = 11,
RGBx = 12,
Depth = 13,
DepthStencil = 14,
sRGB = 15,
sRGBx = 16,
sRGBA = 17,
sBGRA = 18,
}Variants§
R = 0
A = 1
RG = 2
RA = 3
RGB = 4
RGBA = 5
BGRA = 6
ARGB = 7
Intensity = 8
Luminance = 9
Rx = 10
RGx = 11
RGBx = 12
Depth = 13
DepthStencil = 14
sRGB = 15
sRGBx = 16
sRGBA = 17
sBGRA = 18
Implementations§
Source§impl ImageChannelOrder
impl ImageChannelOrder
pub fn from(val: u32) -> Option<ImageChannelOrder>
Trait Implementations§
Source§impl Clone for ImageChannelOrder
impl Clone for ImageChannelOrder
Source§fn clone(&self) -> ImageChannelOrder
fn clone(&self) -> ImageChannelOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageChannelOrder
Source§impl Debug for ImageChannelOrder
impl Debug for ImageChannelOrder
Source§impl Hash for ImageChannelOrder
impl Hash for ImageChannelOrder
Source§impl PartialEq for ImageChannelOrder
impl PartialEq for ImageChannelOrder
Source§fn eq(&self, other: &ImageChannelOrder) -> bool
fn eq(&self, other: &ImageChannelOrder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageChannelOrder
Auto Trait Implementations§
impl Freeze for ImageChannelOrder
impl RefUnwindSafe for ImageChannelOrder
impl Send for ImageChannelOrder
impl Sync for ImageChannelOrder
impl Unpin for ImageChannelOrder
impl UnsafeUnpin for ImageChannelOrder
impl UnwindSafe for ImageChannelOrder
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