pub enum AtomicOp {
MirOp(BinOp, bool),
Max,
Min,
}
Variants§
MirOp(BinOp, bool)
The bool
indicates whether the result of the operation should be negated (UnOp::Not
,
must be a boolean-typed operation).
Max
Min
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes
Size for each variant:
MirOp
: 2 bytesMax
: 0 bytesMin
: 0 bytes