Trait artichoke_backend::core::Convert[][src]

pub trait Convert<T, U> {
    fn convert(&self, from: T) -> U;
}
Expand description

Infallible conversion between two types.

Implementors may not allocate on the interpreter heap.

See core::convert::From. See ConvertMut.

Required methods

Performs the infallible conversion.

Implementors