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]
fn map<U: ?Sized, F>(orig: AtomicRefMut<'b, T>, f: F) -> AtomicRefMut<'b, U> where 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
The method called to dereference a value
impl<'b, T: ?Sized> DerefMut for AtomicRefMut<'b, T>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value