Trait gear_common::Deconstructable
source · pub trait Deconstructable<Call> {
type Params: Send;
// Required methods
fn into_parts(self) -> (&'static Call, Self::Params);
fn from_parts(call: &Call, params: Self::Params) -> Self;
}
Expand description
Trait that the RuntimeApi should implement in order to allow deconstruction and reconstruction to and from its components.
Required Associated Types§
Required Methods§
fn into_parts(self) -> (&'static Call, Self::Params)
fn from_parts(call: &Call, params: Self::Params) -> Self
Object Safety§
This trait is not object safe.