snarkvm_console_collections::integers

Trait Modulo

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

Binary operator for modding two values.

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

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

Source§

type Output = Integer<E, I>