pub trait BigUintArrayFieldHelpers<const N: usize> {
// Required method
fn to_field_limbs<F: Field>(&self) -> [F; N];
// Provided method
fn to_fields<F: Field>(&self) -> [F; N] { ... }
}
Expand description
BigUint array PrimeField helpers
Required Methods§
Sourcefn to_field_limbs<F: Field>(&self) -> [F; N]
fn to_field_limbs<F: Field>(&self) -> [F; N]
Convert limbs from BigUint to field element
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.