Trait winter_math::ToElements
source · pub trait ToElements<E: FieldElement> {
// Required method
fn to_elements(&self) -> Vec<E>;
}Expand description
Defines how to convert a struct to a vector of field elements.
pub trait ToElements<E: FieldElement> {
// Required method
fn to_elements(&self) -> Vec<E>;
}Defines how to convert a struct to a vector of field elements.