Enum spirv_headers::ImageFormat [−][src]
#[repr(u32)]pub enum ImageFormat { Unknown, Rgba32f, Rgba16f, R32f, Rgba8, Rgba8Snorm, Rg32f, Rg16f, R11fG11fB10f, R16f, Rgba16, Rgb10A2, Rg16, Rg8, R16, R8, Rgba16Snorm, Rg16Snorm, Rg8Snorm, R16Snorm, R8Snorm, Rgba32i, Rgba16i, Rgba8i, R32i, Rg32i, Rg16i, Rg8i, R16i, R8i, Rgba32ui, Rgba16ui, Rgba8ui, R32ui, Rgb10a2ui, Rg32ui, Rg16ui, Rg8ui, R16ui, R8ui, }
SPIR-V operand kind: ImageFormat
Variants
Unknown
Rgba32f
Rgba16f
R32f
Rgba8
Rgba8Snorm
Rg32f
Rg16f
R11fG11fB10f
R16f
Rgba16
Rgb10A2
Rg16
Rg8
R16
R8
Rgba16Snorm
Rg16Snorm
Rg8Snorm
R16Snorm
R8Snorm
Rgba32i
Rgba16i
Rgba8i
R32i
Rg32i
Rg16i
Rg8i
R16i
R8i
Rgba32ui
Rgba16ui
Rgba8ui
R32ui
Rgb10a2ui
Rg32ui
Rg16ui
Rg8ui
R16ui
R8ui
Trait Implementations
impl Clone for ImageFormat
[src]
impl Clone for ImageFormat
fn clone(&self) -> ImageFormat
[src]
fn clone(&self) -> ImageFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ImageFormat
[src]
impl Copy for ImageFormat
impl Debug for ImageFormat
[src]
impl Debug for ImageFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ImageFormat
[src]
impl PartialEq for ImageFormat
fn eq(&self, other: &ImageFormat) -> bool
[src]
fn eq(&self, other: &ImageFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for ImageFormat
[src]
impl Eq for ImageFormat
impl PartialOrd for ImageFormat
[src]
impl PartialOrd for ImageFormat
fn partial_cmp(&self, other: &ImageFormat) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ImageFormat) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
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 more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for ImageFormat
[src]
impl Ord for ImageFormat
fn cmp(&self, other: &ImageFormat) -> Ordering
[src]
fn cmp(&self, other: &ImageFormat) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for ImageFormat
[src]
impl Hash for ImageFormat
Auto Trait Implementations
impl Send for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Sync for ImageFormat