pub trait Modulo<Rhs: ?Sized = Self> {
    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§