pub trait Modulus {
// Required method
fn modulus(self, divisor: Self) -> Self;
}
Expand description
Provides a trait for the canonical modulus operation since % is technically the remainder operation
Required Methods§
Object Safety§
This trait is not object safe.