Struct atomic_refcell::AtomicRef
source · pub struct AtomicRef<'b, T: ?Sized + 'b> { /* private fields */ }
Expand description
A wrapper type for an immutably borrowed value from an AtomicRefCell<T>
.
Implementations§
Trait Implementations§
impl<'b, T: ?Sized> Send for AtomicRef<'b, T>
impl<'b, T: ?Sized> Sync for AtomicRef<'b, T>
Auto Trait Implementations§
impl<'b, T> Freeze for AtomicRef<'b, T>where
T: ?Sized,
impl<'b, T> RefUnwindSafe for AtomicRef<'b, T>where
T: RefUnwindSafe + ?Sized,
impl<'b, T> Unpin for AtomicRef<'b, T>where
T: ?Sized,
impl<'b, T> UnwindSafe for AtomicRef<'b, T>where
T: RefUnwindSafe + ?Sized,
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