artichoke_backend::prelude

Trait ConvertMut

Source
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§

Source

fn convert_mut(&mut self, from: T) -> U

Performs the infallible conversion.

Implementors§