Trait overflower_support::DivAssignPanic [] [src]

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

Divide this value by a given value in-place, panicking on overflow

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

Required Methods

divide this value by the right-hand side value, panicking on overflow

Implementors