[][src]Enum spirv_headers::ImageFormat

#[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

Methods

impl ImageFormat[src]

pub fn required_capabilities(self) -> &'static [Capability][src]

Trait Implementations

impl Clone for ImageFormat[src]

impl Copy for ImageFormat[src]

impl Debug for ImageFormat[src]

impl Eq for ImageFormat[src]

impl FromPrimitive for ImageFormat[src]

impl Hash for ImageFormat[src]

impl Ord for ImageFormat[src]

impl PartialEq<ImageFormat> for ImageFormat[src]

impl PartialOrd<ImageFormat> for ImageFormat[src]

impl StructuralEq for ImageFormat[src]

impl StructuralPartialEq for ImageFormat[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageFormat

impl Send for ImageFormat

impl Sync for ImageFormat

impl Unpin for ImageFormat

impl UnwindSafe for ImageFormat

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.