pub struct MaybeAtomicBool { /* private fields */ }Expand description
An atomic structure that wraps either an AtomicBool or a bool, depending on if atomics are available.
Implementations§
Auto Trait Implementations§
impl !Freeze for MaybeAtomicBool
impl RefUnwindSafe for MaybeAtomicBool
impl Send for MaybeAtomicBool
impl Sync for MaybeAtomicBool
impl Unpin for MaybeAtomicBool
impl UnwindSafe for MaybeAtomicBool
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