pub struct MeRefMut<'a, T> { /* private fields */ }
Implementations§
Source§impl<'a, T> MeRefMut<'a, T>
impl<'a, T> MeRefMut<'a, T>
pub fn handle_mut(&mut self) -> &mut MeRefMutHandle<'a>
pub fn entrance<U>(&mut self, content: U) -> MeCell<U>
pub fn another<'b, U>(&'b self, another: &'b MeCell<U>) -> MeRef<'b, U>where
'a: 'b,
pub fn another_mut<'b, U>(
&'b mut self,
another: &'b MeCell<U>,
) -> MeRefMut<'b, U>where
'a: 'b,
pub unsafe fn another_mut_unsafe<'b, 'c, U>(
&'b mut self,
another: &'c MeCell<U>,
) -> MeRefMut<'c, U>where
'a: 'b,
pub fn duplicate<'b>(&'b mut self) -> MeRefMut<'b, T>where
'a: 'b,
pub fn to_ref<'b>(&'b self) -> MeRef<'b, T>where
'a: 'b,
pub fn map<'b, U, F>(self, f: F) -> MeRefMut<'b, U>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for MeRefMut<'a, T>
impl<'a, T> !RefUnwindSafe for MeRefMut<'a, T>
impl<'a, T> !Send for MeRefMut<'a, T>
impl<'a, T> !Sync for MeRefMut<'a, T>
impl<'a, T> Unpin for MeRefMut<'a, T>
impl<'a, T> !UnwindSafe for MeRefMut<'a, 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