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
sourceimpl<'b, T: ?Sized> AtomicRef<'b, T>
impl<'b, T: ?Sized> AtomicRef<'b, T>
Trait Implementations
Auto Trait Implementations
impl<'b, T: ?Sized> RefUnwindSafe for AtomicRef<'b, T> where
T: RefUnwindSafe,
impl<'b, T: ?Sized> Send for AtomicRef<'b, T> where
T: Sync,
impl<'b, T: ?Sized> Sync for AtomicRef<'b, T> where
T: Sync,
impl<'b, T: ?Sized> Unpin for AtomicRef<'b, T>
impl<'b, T: ?Sized> UnwindSafe for AtomicRef<'b, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more