pub trait Convert<A, B> { // Required method fn convert(a: A) -> B; }
Extensible conversion trait. Generic over both source and destination types.
Make conversion.