[−][src]Trait sp_runtime::traits::CheckedMul
Performs multiplication that returns None
instead of wrapping around on underflow or
overflow.
Required methods
fn checked_mul(&self, v: &Self) -> Option<Self>
Multiplies two numbers, checking for underflow or overflow. If underflow
or overflow happens, None
is returned.
Implementations on Foreign Types
impl<T> CheckedMul for Ratio<T> where
T: Clone + Integer + CheckedMul,
[src]
T: Clone + Integer + CheckedMul,