pub trait AddMod<Rhs = Self> {
type Output;
// Required method
fn add_mod(&self, rhs: &Rhs, p: &Self) -> Self::Output;
}Expand description
Compute self + rhs mod p.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".