Struct atomic_refcell::AtomicRefMut
[−]
[src]
pub struct AtomicRefMut<'b, T: ?Sized + 'b> { /* fields omitted */ }A wrapper type for a mutably borrowed value from an AtomicRefCell<T>.
Methods
impl<'b, T: ?Sized> AtomicRefMut<'b, T>[src]
pub fn map<U: ?Sized, F>(orig: AtomicRefMut<'b, T>, f: F) -> AtomicRefMut<'b, U> where
F: FnOnce(&mut T) -> &mut U, [src]
F: FnOnce(&mut T) -> &mut U,
Make a new AtomicRefMut for a component of the borrowed data, e.g. an enum
variant.
Trait Implementations
impl<'b, T: ?Sized> Deref for AtomicRefMut<'b, T>[src]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T[src]
Dereferences the value.