../../.cargo/katex-header.html
Skip to main content

ToElements

Trait 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>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

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

Implementors§