pub struct Atomic {
pub ordering: Ordering,
pub single_thread: bool,
}Expand description
The ordering of an atomic operation and the invocations it orders against.
Fields§
§ordering: OrderingThe ordering.
single_thread: boolOnly against the invocation itself (singlethread); otherwise against all.
Trait Implementations§
impl Copy for Atomic
impl Eq for Atomic
impl StructuralPartialEq for Atomic
Auto Trait Implementations§
impl Forget for Atomic
impl Freeze for Atomic
impl RefUnwindSafe for Atomic
impl Send for Atomic
impl Sync for Atomic
impl Unpin for Atomic
impl UnsafeUnpin for Atomic
impl UnwindSafe for Atomic
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