pub trait ToMut<'a> {
type Output;
// Required method
fn to_mut(&'a mut self) -> Self::Output;
}Expand description
An alternative to AsMut that does not force the reference type to be a pointer itself.
This parallels ToRef; see it for more information.