pub trait ToField { type Field: FieldTrait; fn to_field(&self) -> Result<Self::Field, Error>; }
Unary operator for converting to a base field.
Returns the object as a base field element.
Returns the group as a field element.
Returns the scalar as a field element.
Converts an integer into a field element.