Enum cranelift_codegen::ir::AtomicRmwOp
source · [−]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
sourceimpl Clone for AtomicRmwOp
impl Clone for AtomicRmwOp
sourcefn clone(&self) -> AtomicRmwOp
fn clone(&self) -> AtomicRmwOp
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AtomicRmwOp
impl Debug for AtomicRmwOp
sourceimpl Display for AtomicRmwOp
impl Display for AtomicRmwOp
sourceimpl FromStr for AtomicRmwOp
impl FromStr for AtomicRmwOp
sourceimpl Hash for AtomicRmwOp
impl Hash for AtomicRmwOp
sourceimpl PartialEq<AtomicRmwOp> for AtomicRmwOp
impl PartialEq<AtomicRmwOp> for AtomicRmwOp
impl Copy for AtomicRmwOp
impl Eq for AtomicRmwOp
impl StructuralEq for AtomicRmwOp
impl StructuralPartialEq for AtomicRmwOp
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.