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§

Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary of the type.

Implementations on Foreign Types§

Implementors§

impl<Frac: LeEqU8> WrappingMul for FixedI8<Frac>

impl<Frac: LeEqU16> WrappingMul for FixedI16<Frac>

impl<Frac: LeEqU32> WrappingMul for FixedI32<Frac>

impl<Frac: LeEqU64> WrappingMul for FixedI64<Frac>

impl<Frac: LeEqU128> WrappingMul for FixedI128<Frac>

impl<Frac: LeEqU8> WrappingMul for FixedU8<Frac>

impl<Frac: LeEqU16> WrappingMul for FixedU16<Frac>

impl<Frac: LeEqU32> WrappingMul for FixedU32<Frac>

impl<Frac: LeEqU64> WrappingMul for FixedU64<Frac>

impl<Frac: LeEqU128> WrappingMul for FixedU128<Frac>