pub trait ToField {
    type Field: FieldTrait;

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

Unary operator for converting to a base field.

Required Associated Types§

Required Methods§

Source

fn to_field(&self) -> Result<Self::Field>

Returns the object as a base field element.

Implementors§