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
fn rem_assign_panic(&mut self, rhs: RHS)
divide this value by the right-hand side value and get the remainder, panicking on overflow
Implementors
impl<T, R> RemAssignPanic<R> for T where
T: RemAssign<R>,impl RemAssignPanic<u8> for u8
impl RemAssignPanic<u16> for u16
impl RemAssignPanic<u32> for u32
impl RemAssignPanic<u64> for u64
impl RemAssignPanic<usize> for usize
impl RemAssignPanic<i8> for i8
impl RemAssignPanic<i16> for i16
impl RemAssignPanic<i32> for i32
impl RemAssignPanic<i64> for i64
impl RemAssignPanic<isize> for isize