Trait num_traits::ops::wrapping::WrappingMul [−][src]
pub trait WrappingMul: Sized + Mul<Self, Output = Self> { fn wrapping_mul(&self, v: &Self) -> Self; }
Performs multiplication that wraps around on overflow.
Required Methods
fn wrapping_mul(&self, v: &Self) -> Self
Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary
of the type.
Implementations on Foreign Types
impl<T: WrappingMul> WrappingMul for Wrapping<T> where
Wrapping<T>: Mul<Output = Wrapping<T>>, [src]
impl<T: WrappingMul> WrappingMul for Wrapping<T> where
Wrapping<T>: Mul<Output = Wrapping<T>>, fn wrapping_mul(&self, v: &Self) -> Self[src]
fn wrapping_mul(&self, v: &Self) -> SelfImplementors
impl WrappingMul for u8impl WrappingMul for u16impl WrappingMul for u32impl WrappingMul for u64impl WrappingMul for usizeimpl WrappingMul for u128impl WrappingMul for i8impl WrappingMul for i16impl WrappingMul for i32impl WrappingMul for i64impl WrappingMul for isizeimpl WrappingMul for i128