#[repr(C)]pub enum AtomicOp {
Read = 0,
Write = 1,
Update = 2,
Capture = 3,
}
Expand description
Atomic operation type
Specifies the type of atomic operation.
§Examples
let ao = AtomicOp::Read;
assert_eq!(ao.to_string(), "read");
Variants§
Trait Implementations§
impl Copy for AtomicOp
impl Eq for AtomicOp
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