Trait ark_ff::ToConstraintField [−][src]
Types that can be converted to a vector of F
elements. Useful for
specifying how public inputs to a constraint system should be represented
inside that constraint system.
Required methods
fn to_field_elements(&self) -> Option<Vec<F>>
[src]
Implementors
impl<ConstraintF: Field> ToConstraintField<ConstraintF> for ()
[src]
fn to_field_elements(&self) -> Option<Vec<ConstraintF>>
[src]
impl<ConstraintF: PrimeField> ToConstraintField<ConstraintF> for Vec<u8>
[src]
fn to_field_elements(&self) -> Option<Vec<ConstraintF>>
[src]
impl<ConstraintF: PrimeField> ToConstraintField<ConstraintF> for [u8; 32]
[src]
fn to_field_elements(&self) -> Option<Vec<ConstraintF>>
[src]
impl<ConstraintF: PrimeField> ToConstraintField<ConstraintF> for [u8]
[src]
fn to_field_elements(&self) -> Option<Vec<ConstraintF>>
[src]
impl<F: Field> ToConstraintField<F> for [F]
[src]
fn to_field_elements(&self) -> Option<Vec<F>>
[src]
impl<F: Field> ToConstraintField<F> for bool
[src]
fn to_field_elements(&self) -> Option<Vec<F>>
[src]
impl<F: PrimeField> ToConstraintField<F> for F
[src]
fn to_field_elements(&self) -> Option<Vec<F>>
[src]
impl<P: CubicExtParameters> ToConstraintField<<P as CubicExtParameters>::BasePrimeField> for CubicExtField<P> where
P::BaseField: ToConstraintField<P::BasePrimeField>,
[src]
P::BaseField: ToConstraintField<P::BasePrimeField>,
fn to_field_elements(&self) -> Option<Vec<P::BasePrimeField>>
[src]
impl<P: QuadExtParameters> ToConstraintField<<P as QuadExtParameters>::BasePrimeField> for QuadExtField<P> where
P::BaseField: ToConstraintField<P::BasePrimeField>,
[src]
P::BaseField: ToConstraintField<P::BasePrimeField>,