Trait sp_runtime::traits::Convert
source · pub trait Convert<A, B> {
// Required method
fn convert(a: A) -> B;
}
Expand description
Infallible conversion trait. Generic over both source and destination types.
Required Methods§
Object Safety§
This trait is not object safe.