Enum cranelift_codegen::ir::AtomicRmwOp [−][src]
pub enum AtomicRmwOp {
Add,
Sub,
And,
Nand,
Or,
Xor,
Xchg,
Umin,
Umax,
Smin,
Smax,
}
Expand description
Describes the arithmetic operation in an atomic memory read-modify-write operation.
Variants
Add
Add
Sub
Sub
And
And
Nand
Nand
Or
Or
Xor
Xor
Xchg
Exchange
Umin
Unsigned min
Umax
Unsigned max
Smin
Signed min
Smax
Signed max
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AtomicRmwOp
impl Send for AtomicRmwOp
impl Sync for AtomicRmwOp
impl Unpin for AtomicRmwOp
impl UnwindSafe for AtomicRmwOp
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.