pub trait NegMod {
type Output;
// Required method
fn neg_mod(&self, p: &Self) -> Self::Output;
}
Expand description
Compute -self 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", so this trait is not object safe.