Trait ToElements

Source
pub trait ToElements<E>
where 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§

Source

fn to_elements(&self) -> Vec<E>

Implementations on Foreign Types§

Source§

impl<E> ToElements<E> for ()
where E: FieldElement,

Source§

fn to_elements(&self) -> Vec<E>

Implementors§

Source§

impl<E> ToElements<E> for E
where E: FieldElement,