pub struct RefMut<'a, V> where
V: 'a, { /* private fields */ }
Expand description
Mutable reference to a value.
Implementations
sourceimpl<'a, V> RefMut<'a, V>
impl<'a, V> RefMut<'a, V>
pub fn new(inner: CellRefMut<'a, V>) -> Self
Trait Implementations
Auto Trait Implementations
impl<'a, V> RefUnwindSafe for RefMut<'a, V> where
V: RefUnwindSafe,
impl<'a, V> Send for RefMut<'a, V> where
V: Send,
impl<'a, V> Sync for RefMut<'a, V> where
V: Sync,
impl<'a, V> Unpin for RefMut<'a, V>
impl<'a, V> !UnwindSafe for RefMut<'a, V>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more