Trait sp_runtime::bounded_vec::TruncateFrom
pub trait TruncateFrom<T> {
// Required method
fn truncate_from(unbound: T) -> Self;
}
Expand description
Create an object through truncation.
Required Methods§
fn truncate_from(unbound: T) -> Self
fn truncate_from(unbound: T) -> Self
Create an object through truncation.