pub enum AmoOp {
Swap,
Add,
Xor,
And,
Or,
Min,
Max,
Minu,
Maxu,
}Expand description
An atomic memory operations from the Zaamo extension.
Variants§
Swap
Swap
Add
ADD
Xor
XOR
And
AND
Or
OR
Min
Signed minimum
Max
Signed maximum
Minu
Unsigned minimum
Maxu
Unsigned maximum
Trait Implementations§
impl Copy for AmoOp
impl Eq for AmoOp
impl StructuralPartialEq for AmoOp
Auto Trait Implementations§
impl Freeze for AmoOp
impl RefUnwindSafe for AmoOp
impl Send for AmoOp
impl Sync for AmoOp
impl Unpin for AmoOp
impl UnsafeUnpin for AmoOp
impl UnwindSafe for AmoOp
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