pub trait DivWrapped<Rhs = Self>where
Rhs: ?Sized,{
type Output;
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 = Self>where
Rhs: ?Sized,{
type Output;
fn div_wrapped(&self, rhs: &Rhs) -> Self::Output;
}Binary operator for dividing two values, wrapping the quotient if an overflow occurs.