OverflowingMul
Performs multiplication with a flag for overflow.
Fully qualified path: core::num::traits::ops::overflowing::OverflowingMul
pub trait OverflowingMul<T>
Trait functions
overflowing_mul
Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur. If an overflow would have occurred then the wrapped value is returned.
Fully qualified path: core::num::traits::ops::overflowing::OverflowingMul::overflowing_mul
fn overflowing_mul(self: T, v: T) -> (T, bool)