Enum spirv_utils::desc::ImageChannelDataType [] [src]

pub enum ImageChannelDataType {
    SnormInt8,
    SnormInt16,
    UnormInt8,
    UnormInt16,
    UnormShort565,
    UnormShort555,
    UnormInt101010,
    SignedInt8,
    SignedInt16,
    SignedInt32,
    UnsignedInt8,
    UnsignedInt16,
    UnsignedInt32,
    HalfFloat,
    Float,
    UnormInt24,
    UnormInt101010_2,
}

Variants

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

Methods

impl ImageChannelDataType

fn from(val: u32) -> Option<ImageChannelDataType>

Trait Implementations

Derived Implementations

impl Hash for ImageChannelDataType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for ImageChannelDataType

fn eq(&self, __arg_0: &ImageChannelDataType) -> bool

fn ne(&self, __arg_0: &ImageChannelDataType) -> bool

impl Debug for ImageChannelDataType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for ImageChannelDataType

fn clone(&self) -> ImageChannelDataType

fn clone_from(&mut self, source: &Self)

impl Copy for ImageChannelDataType