pub trait ConvertMut<T, U> {
// Required method
fn convert_mut(&mut self, from: T) -> U;
}
Expand description
Mutable infallible conversion between two types.
Implementors may allocate on the interpreter heap.
See core::convert::From
.
See Convert
.
Required Methods§
Sourcefn convert_mut(&mut self, from: T) -> U
fn convert_mut(&mut self, from: T) -> U
Performs the infallible conversion.