Trait snarkvm_fields::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.
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.
fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>[src]impl<F: Field> ToConstraintField<F> for [F][src]fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>[src]impl<F: Field> ToConstraintField<F> for Vec<F>[src]fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>[src]impl<F: Field> ToConstraintField<F> for ()[src]fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>[src]impl<F: PrimeField> ToConstraintField<F> for [u8][src]fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>[src]impl<F: PrimeField> ToConstraintField<F> for [u8; 32][src]fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>[src]impl<F: PrimeField> ToConstraintField<F> for F[src]fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>[src]impl<P: Fp2Parameters> ToConstraintField<<P as Fp2Parameters>::Fp> for Fp2<P>[src]fn to_field_elements(&self) -> Result<Vec<P::Fp>, ConstraintFieldError>[src]