pub enum AtomicOp {
Load(UnaryOperator),
Store(UnaryOperator),
Swap(BinaryOperator),
Add(BinaryOperator),
Sub(BinaryOperator),
Max(BinaryOperator),
Min(BinaryOperator),
And(BinaryOperator),
Or(BinaryOperator),
Xor(BinaryOperator),
CompareAndSwap(CompareAndSwapOperator),
}
Variants§
Load(UnaryOperator)
Store(UnaryOperator)
Swap(BinaryOperator)
Add(BinaryOperator)
Sub(BinaryOperator)
Max(BinaryOperator)
Min(BinaryOperator)
And(BinaryOperator)
Or(BinaryOperator)
Xor(BinaryOperator)
CompareAndSwap(CompareAndSwapOperator)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AtomicOp
impl<'de> Deserialize<'de> for AtomicOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AtomicOp
Auto Trait Implementations§
impl Freeze for AtomicOp
impl RefUnwindSafe for AtomicOp
impl Send for AtomicOp
impl Sync for AtomicOp
impl Unpin for AtomicOp
impl UnwindSafe for AtomicOp
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