pub enum Modifier {
Show 23 variants
Shared,
Global,
Local,
Const,
Param,
U32,
U64,
S32,
S64,
F32,
F64,
B32,
B64,
Sync,
Cta,
Gl,
Sys,
AtomicAdd,
AtomicCas,
AtomicExch,
AtomicMin,
AtomicMax,
Other(String),
}Expand description
Instruction modifiers
Variants§
.shared
Global
.global
Local
.local
Const
.const
Param
.param
U32
.u32
U64
.u64
S32
.s32
S64
.s64
F32
.f32
F64
.f64
B32
.b32
B64
.b64
Sync
.sync
Cta
.cta
Gl
.gl
Sys
.sys
AtomicAdd
.add (atomic add)
AtomicCas
.cas (compare and swap)
AtomicExch
.exch (exchange)
AtomicMin
.min
AtomicMax
.max
Other(String)
Other modifier
Implementations§
Trait Implementations§
impl Eq for Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl Freeze for Modifier
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnsafeUnpin for Modifier
impl UnwindSafe for Modifier
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