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.
Required Methods§
fn to_elements(&self) -> Vec<E>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".