pub trait ToField {
    type Field: FieldTrait;

    fn to_field(&self) -> Result<Self::Field, Error>;
}
Expand description

Unary operator for converting to a base field.

Required Associated Types

Required Methods

Returns the object as a base field element.

Implementations on Foreign Types

Returns the group as a field element.

Returns the scalar as a field element.

Converts an integer into a field element.

Implementors