[src]

Struct std::cell::RefMut

pub struct RefMut<'b, T> {
    // some fields omitted
}

Wraps a mutable borrowed reference to a value in a RefCell box.

Trait Implementations

impl<'b, T> Drop for RefMut<'b, T>

fn drop(&mut self)

The drop method, called when the value goes out of scope.

impl<'b, T> Deref<T> for RefMut<'b, T>

fn deref<'a>(&'a self) -> &'a T

The method called to dereference a value

impl<'b, T> DerefMut<T> for RefMut<'b, T>

fn deref_mut<'a>(&'a mut self) -> &'a mut T

The method called to mutably dereference a value