pub trait RefMut {
    // Provided methods
    unsafe fn to_mut_ptr(&mut self) -> *mut Self { ... }
    fn modify(&mut self, f: impl FnOnce(Self) -> Self)
       where Self: Sized { ... }
}

Provided Methods§

source

unsafe fn to_mut_ptr(&mut self) -> *mut Self

source

fn modify(&mut self, f: impl FnOnce(Self) -> Self)
where Self: Sized,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> RefMut for T