Trait polkadot_sdk_frame::traits::Morph
pub trait Morph<A> {
type Outcome;
// Required method
fn morph(a: A) -> Self::Outcome;
}
Expand description
Extensible conversion trait. Generic over only source type, with destination type being associated.
Required Associated Types§
type Outcome
type Outcome
The type into which A
is mutated.
Required Methods§
Object Safety§
This trait is not object safe.