pub trait ZZElem:
Sized
+ Copy
+ PartialEq
+ Neg<Output = Self>
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ AddAssign
+ SubAssign
+ MulAssign {
// Required methods
fn value(self) -> u32;
fn modulo(self) -> u32;
fn pow(self, p: u64) -> Self;
}Expand description
$\mathbb{Z} / m \mathbb{Z}$の環の元
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.