pub trait FFElem:
Sized
+ Copy
+ Neg<Output = Self>
+ PartialEq
+ Arithmetic {
// Required methods
fn value(self) -> u32;
fn modulo(self) -> u32;
fn pow(self, p: u64) -> Self;
// Provided method
fn inv(self) -> Self { ... }
}
Expand description
有限体の元
Required Methods§
Provided 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.