../../.cargo/katex-header.html

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.

Required Methods§

source

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

Implementations on Foreign Types§

source§

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

source§

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

Implementors§