pub trait Convert<A, B> {
    fn convert(a: A) -> B;
}
Expand description

Extensible conversion trait. Generic over both source and destination types.

Required Methods§

Make conversion.

Implementations on Foreign Types§

Implementors§