#[repr(u32)]pub enum ImageChannelOrder {
Show 20 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,
ABGR = 19,
}
Expand description
SPIR-V operand kind: ImageChannelOrder
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
ABGR = 19
Implementations§
Trait Implementations§
Source§impl Clone for ImageChannelOrder
impl Clone for ImageChannelOrder
Source§fn clone(&self) -> ImageChannelOrder
fn clone(&self) -> ImageChannelOrder
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 ImageChannelOrder
impl Debug for ImageChannelOrder
Source§impl FromStr for ImageChannelOrder
impl FromStr for ImageChannelOrder
Source§impl Hash for ImageChannelOrder
impl Hash for ImageChannelOrder
Source§impl Ord for ImageChannelOrder
impl Ord for ImageChannelOrder
Source§fn cmp(&self, other: &ImageChannelOrder) -> Ordering
fn cmp(&self, other: &ImageChannelOrder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ImageChannelOrder
impl PartialEq for ImageChannelOrder
Source§impl PartialOrd for ImageChannelOrder
impl PartialOrd for ImageChannelOrder
impl Copy for ImageChannelOrder
impl Eq for ImageChannelOrder
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)