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

Binary operator for modding two values.

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Returns the result of taking the modulus of self with respect to other.

Implementors§