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.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".