pub trait DivWrapped<Rhs: ?Sized = Self> {
type Output;
// Required method
fn div_wrapped(&self, rhs: &Rhs) -> Self::Output;
}
Expand description
Binary operator for dividing two values, wrapping the quotient if an overflow occurs.
pub trait DivWrapped<Rhs: ?Sized = Self> {
type Output;
// Required method
fn div_wrapped(&self, rhs: &Rhs) -> Self::Output;
}
Binary operator for dividing two values, wrapping the quotient if an overflow occurs.