pub trait IntoWeight {
// Required method
fn into_weight(self) -> Weight;
}Expand description
Converts Self into a Weight by using Self for all components.
Required Methods§
fn into_weight(self) -> Weight
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".