pub struct SimpleAtomicBool(/* private fields */);
Expand description
An simplified std::sync::atomic::AtomicBool
Use a more intuitive interface and does not allow the Ordering to be
specified (it’s always Ordering::Relaxed
)
Implementations§
Auto Trait Implementations§
impl !Freeze for SimpleAtomicBool
impl RefUnwindSafe for SimpleAtomicBool
impl Send for SimpleAtomicBool
impl Sync for SimpleAtomicBool
impl Unpin for SimpleAtomicBool
impl UnwindSafe for SimpleAtomicBool
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