Trait sp_runtime::bounded_vec::TruncateFrom
source · pub trait TruncateFrom<T> {
// Required method
fn truncate_from(unbound: T) -> Self;
}
Expand description
Create an object through truncation.
Required Methods§
sourcefn truncate_from(unbound: T) -> Self
fn truncate_from(unbound: T) -> Self
Create an object through truncation.
Object Safety§
This trait is not object safe.