pub trait PrimeField32: PrimeField64 {
const ORDER_U32: u32;
// Required method
fn as_canonical_u32(&self) -> u32;
}
Expand description
A prime field of order less than 2^32
.
Required Associated Constants§
Required Methods§
Sourcefn as_canonical_u32(&self) -> u32
fn as_canonical_u32(&self) -> u32
Return the representative of value
that is less than ORDER_U32
.
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.