pub trait RemSaturating<Rhs: ?Sized = Self> {
type Output;
// Required method
fn rem_saturating(&self, rhs: &Rhs) -> Self::Output;
}
Expand description
Binary operator for dividing two values, bounding the remainder to MAX
or MIN
if an overflow occurs.