pub trait ModularPow<Exp = Self, Modulus = Self> {
type Output;
// Required method
fn powm(self, exp: Exp, m: Modulus) -> Self::Output;
}Expand description
Modular power functions
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".