Trait overflower_support::MulAssignPanic [] [src]

pub trait MulAssignPanic<RHS = Self> {
    fn mul_assign_panic(&mut self, rhs: RHS);
}

Multiply a value with a given value in-place, panicking on overflow

This trait does the same as the std::ops::MulAssign trait for most values. it is specialized for integer types to panic on over- or underflow.

Required Methods

multiply the right-hand side value with this value, panicking on overflow

Implementors