Trait overflower_support::RemAssignWrap [] [src]

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

Divide a value to a given value, getting the remainder in-place, wrapping on overflow

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

Required Methods

get the remainder of a division in place, wrapping on overflow

Implementors