pub trait Modulus {
fn modulus(self, divisor: Self) -> Self;
}
Expand description
Provides a trait for the canonical modulus operation since % is technically the remainder operation
pub trait Modulus {
fn modulus(self, divisor: Self) -> Self;
}
Provides a trait for the canonical modulus operation since % is technically the remainder operation