Trait sp_core::bounded::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.