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§

source

fn to_field_limbs<F: Field>(&self) -> [F; N]

Convert limbs from BigUint to field element

Provided Methods§

source

fn to_fields<F: Field>(&self) -> [F; N]

Alias for to_field_limbs

Implementations on Foreign Types§

source§

impl<const N: usize> BigUintArrayFieldHelpers<N> for [BigUint; N]

source§

fn to_field_limbs<F: Field>(&self) -> [F; N]

Implementors§