Trait overflower_support::RemAssignPanic [] [src]

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

Get the remainder of dividing this value by a given value in-place, panicking on overflow

This trait does the same as the std::ops::RemAssign 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 and get the remainder, panicking on overflow

Implementors