MulChecked

Trait MulChecked 

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

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

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

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

Source§

type Output = Integer<E, I>

Source§

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

Implementors§