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
SnormInt8SnormInt16UnormInt8UnormInt16UnormShort565UnormShort555UnormInt101010SignedInt8SignedInt16SignedInt32UnsignedInt8UnsignedInt16UnsignedInt32HalfFloatFloatUnormInt24UnormInt101010_2Methods
impl ImageChannelDataType[src]
fn from(val: u32) -> Option<ImageChannelDataType>
Trait Implementations
impl Hash for ImageChannelDataType[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for ImageChannelDataType[src]
fn eq(&self, __arg_0: &ImageChannelDataType) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Debug for ImageChannelDataType[src]
impl Clone for ImageChannelDataType[src]
fn clone(&self) -> ImageChannelDataType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more