[][src]Enum spirv_headers::ImageChannelDataType

#[repr(u32)]pub enum ImageChannelDataType {
    SnormInt8,
    SnormInt16,
    UnormInt8,
    UnormInt16,
    UnormShort565,
    UnormShort555,
    UnormInt101010,
    SignedInt8,
    SignedInt16,
    SignedInt32,
    UnsignedInt8,
    UnsignedInt16,
    UnsignedInt32,
    HalfFloat,
    Float,
    UnormInt24,
    UnormInt101010_2,
}

/// SPIR-V operand kind: ImageChannelDataType

Variants

SnormInt8
SnormInt16
UnormInt8
UnormInt16
UnormShort565
UnormShort555
UnormInt101010
SignedInt8
SignedInt16
SignedInt32
UnsignedInt8
UnsignedInt16
UnsignedInt32
HalfFloat
Float
UnormInt24
UnormInt101010_2

Implementations

impl ImageChannelDataType[src]

Trait Implementations

impl Clone for ImageChannelDataType[src]

impl Copy for ImageChannelDataType[src]

impl Debug for ImageChannelDataType[src]

impl Eq for ImageChannelDataType[src]

impl FromPrimitive for ImageChannelDataType[src]

impl Hash for ImageChannelDataType[src]

impl Ord for ImageChannelDataType[src]

impl PartialEq<ImageChannelDataType> for ImageChannelDataType[src]

impl PartialOrd<ImageChannelDataType> for ImageChannelDataType[src]

impl StructuralEq for ImageChannelDataType[src]

impl StructuralPartialEq for ImageChannelDataType[src]

Auto Trait Implementations

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.