Trait sp_runtime::traits::UniqueSaturatedInto [−][src]
pub trait UniqueSaturatedInto<T> {
fn unique_saturated_into(self) -> T;
}Expand description
Just like Into except that if the source value is too big to fit into the destination type
then it’ll saturate the destination.
Required methods
fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> TConsume self to return an equivalent value of T.