pub trait Field: Halo2Field + PrimeField<Repr = [u8; 32]> + FromUniformBytes<64> + Ord + OpsIdentity<Output = Self> {
// Provided methods
fn get_lower_128(&self) -> u128 { ... }
fn get_lower_32(&self) -> u32 { ... }
}
Expand description
Trait used to reduce verbosity with the declaration of the [PrimeField
]
trait and its repr.
Provided Methods§
sourcefn get_lower_128(&self) -> u128
fn get_lower_128(&self) -> u128
Gets the lower 128 bits of this field element when expressed canonically.
sourcefn get_lower_32(&self) -> u32
fn get_lower_32(&self) -> u32
Gets the lower 32 bits of this field element when expressed canonically.
Object Safety§
This trait is not object safe.