Trait num_traits::ops::wrapping::WrappingMul [−][src]
pub trait WrappingMul: Sized + Mul<Self, Output = Self> { fn wrapping_mul(&self, v: &Self) -> Self; }
Expand description
Performs multiplication that wraps around on overflow.
Required methods
fn wrapping_mul(&self, v: &Self) -> Self
[src]
fn wrapping_mul(&self, v: &Self) -> Self
[src]Wrapping (modular) multiplication. Computes self * other
, wrapping around at the boundary
of the type.