#[repr(u32)]pub enum ComponentType {
Show 15 variants
Float16NV = 0,
Float32NV = 1,
Float64NV = 2,
SignedInt8NV = 3,
SignedInt16NV = 4,
SignedInt32NV = 5,
SignedInt64NV = 6,
UnsignedInt8NV = 7,
UnsignedInt16NV = 8,
UnsignedInt32NV = 9,
UnsignedInt64NV = 10,
SignedInt8PackedNV = 1_000_491_000,
UnsignedInt8PackedNV = 1_000_491_001,
FloatE4M3NV = 1_000_491_002,
FloatE5M2NV = 1_000_491_003,
}Expand description
SPIR-V operand kind: ComponentType
Variants§
Float16NV = 0
Float32NV = 1
Float64NV = 2
SignedInt8NV = 3
SignedInt16NV = 4
SignedInt32NV = 5
SignedInt64NV = 6
UnsignedInt8NV = 7
UnsignedInt16NV = 8
UnsignedInt32NV = 9
UnsignedInt64NV = 10
SignedInt8PackedNV = 1_000_491_000
UnsignedInt8PackedNV = 1_000_491_001
FloatE4M3NV = 1_000_491_002
FloatE5M2NV = 1_000_491_003
Implementations§
Trait Implementations§
Source§impl Clone for ComponentType
impl Clone for ComponentType
Source§fn clone(&self) -> ComponentType
fn clone(&self) -> ComponentType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentType
impl Debug for ComponentType
Source§impl FromStr for ComponentType
impl FromStr for ComponentType
Source§impl Hash for ComponentType
impl Hash for ComponentType
Source§impl Ord for ComponentType
impl Ord for ComponentType
Source§fn cmp(&self, other: &ComponentType) -> Ordering
fn cmp(&self, other: &ComponentType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComponentType
impl PartialEq for ComponentType
Source§impl PartialOrd for ComponentType
impl PartialOrd for ComponentType
impl Copy for ComponentType
impl Eq for ComponentType
impl StructuralPartialEq for ComponentType
Auto Trait Implementations§
impl Freeze for ComponentType
impl RefUnwindSafe for ComponentType
impl Send for ComponentType
impl Sync for ComponentType
impl Unpin for ComponentType
impl UnsafeUnpin for ComponentType
impl UnwindSafe for ComponentType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more