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§
source§impl Clone for AtomicRmwOp
impl Clone for AtomicRmwOp
source§fn clone(&self) -> AtomicRmwOp
fn clone(&self) -> AtomicRmwOp
Returns a copy 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 AtomicRmwOp
impl Debug for AtomicRmwOp
source§impl Display for AtomicRmwOp
impl Display for AtomicRmwOp
source§impl FromStr for AtomicRmwOp
impl FromStr for AtomicRmwOp
source§impl Hash for AtomicRmwOp
impl Hash for AtomicRmwOp
source§impl PartialEq<AtomicRmwOp> for AtomicRmwOp
impl PartialEq<AtomicRmwOp> for AtomicRmwOp
source§fn eq(&self, other: &AtomicRmwOp) -> bool
fn eq(&self, other: &AtomicRmwOp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.