Enum spirv::ImageChannelOrder
source · #[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§fn eq(&self, other: &ImageChannelOrder) -> bool
fn eq(&self, other: &ImageChannelOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageChannelOrder
impl PartialOrd for ImageChannelOrder
source§fn partial_cmp(&self, other: &ImageChannelOrder) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageChannelOrder) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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