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

Binary operator for dividing two values, wrapping the remainder if an overflow occurs.

Required Associated Types§

Required Methods§

source

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

Implementations on Foreign Types§

§

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

§

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

Returns the remainder of self divided by other.

§

type Output = Integer<E, I>

Implementors§