pub trait DivSaturating<Rhs = Self>
where Rhs: ?Sized,
{ type Output; // Required method fn div_saturating(&self, rhs: &Rhs) -> Self::Output; }
Expand description

Binary operator for dividing two values, bounding the quotient to MAX or MIN if an overflow occurs.

Required Associated Types§

type Output

Required Methods§

fn div_saturating(&self, rhs: &Rhs) -> Self::Output

Implementors§