pub enum ScalarType {
Show 23 variants
B8,
B16,
B32,
B64,
B128,
S8,
S16,
S32,
S64,
U8,
U16,
U32,
U64,
F16,
F16x2,
F32,
F64,
Bf16,
Tf32,
Pred,
TexRef,
SamplerRef,
SurfRef,
}Variants§
B8
B16
B32
B64
B128
S8
S16
S32
S64
U8
U16
U32
U64
F16
F16x2
F32
F64
Bf16
Tf32
Pred
TexRef
SamplerRef
SurfRef
Trait Implementations§
Source§impl Clone for ScalarType
impl Clone for ScalarType
Source§fn clone(&self) -> ScalarType
fn clone(&self) -> ScalarType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScalarType
Source§impl Debug for ScalarType
impl Debug for ScalarType
impl Eq for ScalarType
Source§impl PartialEq for ScalarType
impl PartialEq for ScalarType
Source§fn eq(&self, other: &ScalarType) -> bool
fn eq(&self, other: &ScalarType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScalarType
Auto Trait Implementations§
impl Freeze for ScalarType
impl RefUnwindSafe for ScalarType
impl Send for ScalarType
impl Sync for ScalarType
impl Unpin for ScalarType
impl UnsafeUnpin for ScalarType
impl UnwindSafe for ScalarType
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