DivChecked

Trait DivChecked 

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

Binary operator for dividing two values, enforcing an overflow never occurs.

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl<E, I> DivChecked for Integer<E, I>
where E: Environment, I: IntegerType,

Source§

type Output = Integer<E, I>

Source§

fn div_checked( &self, other: &Integer<E, I>, ) -> <Integer<E, I> as DivChecked>::Output

Implementors§