pub struct AtomicRef<T>(/* private fields */);Expand description
Stores data in a location accessible to multiple threads but also atomically swappable
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for AtomicRef<T>
impl<T> RefUnwindSafe for AtomicRef<T>where
T: RefUnwindSafe,
impl<T> Send for AtomicRef<T>
impl<T> Sync for AtomicRef<T>
impl<T> Unpin for AtomicRef<T>
impl<T> UnwindSafe for AtomicRef<T>where
T: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, A> DynAccess<T> for A
impl<T, A> DynAccess<T> for A
Source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load.