Trait AddMod
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§
type Output
type Output
Output type.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.