pub struct AtomicMut<T>(pub T);
Expand description
Inspect wrapper for an atomic value (e.g.,
AtomicBool
, allowing updates.
Tuple Fields§
§0: T
Trait Implementations§
source§impl Inspect for AtomicMut<&AtomicBool>
impl Inspect for AtomicMut<&AtomicBool>
source§impl Inspect for AtomicMut<&AtomicIsize>
impl Inspect for AtomicMut<&AtomicIsize>
Auto Trait Implementations§
impl<T> Freeze for AtomicMut<T>where
T: Freeze,
impl<T> RefUnwindSafe for AtomicMut<T>where
T: RefUnwindSafe,
impl<T> Send for AtomicMut<T>where
T: Send,
impl<T> Sync for AtomicMut<T>where
T: Sync,
impl<T> Unpin for AtomicMut<T>where
T: Unpin,
impl<T> UnwindSafe for AtomicMut<T>where
T: UnwindSafe,
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