pub trait ToConstraintField<F: Field>: Debug {
// Required method
fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>;
}
Expand description
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.