snarkvm_circuit_environment::traits

Trait ToFields

Source
pub trait ToFields {
    type Field: FieldTrait;

    // Required method
    fn to_fields(&self) -> Vec<Self::Field>;
}
Expand description

Unary operator for converting to a list of base fields.

Required Associated Types§

Required Methods§

Source

fn to_fields(&self) -> Vec<Self::Field>

Returns the circuit as a list of base field elements.

Implementors§