p3_field

Trait PrimeField64

Source
pub trait PrimeField64: PrimeField {
    const ORDER_U64: u64;

    // Required method
    fn as_canonical_u64(&self) -> u64;
}
Expand description

A prime field of order less than 2^64.

Required Associated Constants§

Required Methods§

Source

fn as_canonical_u64(&self) -> u64

Return the representative of value that is less than ORDER_U64.

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.

Implementors§