Trait sp_runtime::traits::Convert[][src]

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