[−][src]Trait sp_runtime::traits::UniqueSaturatedInto
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
pub fn unique_saturated_into(self) -> T
[src]
Consume self to return an equivalent value of T
.
Implementors
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]
T: Bounded,
S: TryInto<T>,