pub trait RemChecked<Rhs: ?Sized = Self> {
    type Output;

    fn rem_checked(&self, rhs: &Rhs) -> Self::Output;
}
Expand description

Binary operator for dividing two values and returning the remainder, enforcing an overflow never occurs.

Required Associated Types

Required Methods

Implementors