pub struct RefMut<'refcell, T> { /* private fields */ }
Expand description
§Ref type as output for borrow_mut method
We need this to handle decrementing exclusive ref count after they go out of scope
Trait Implementations§
Auto Trait Implementations§
impl<'refcell, T> Freeze for RefMut<'refcell, T>
impl<'refcell, T> !RefUnwindSafe for RefMut<'refcell, T>
impl<'refcell, T> !Send for RefMut<'refcell, T>
impl<'refcell, T> !Sync for RefMut<'refcell, T>
impl<'refcell, T> Unpin for RefMut<'refcell, T>
impl<'refcell, T> !UnwindSafe for RefMut<'refcell, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more