pub trait ToField {
    type Field: FieldTrait;
    // Required method
    fn to_field(&self) -> Result<Self::Field, Error>;
}Expand description
Unary operator for converting to a base field.
pub trait ToField {
    type Field: FieldTrait;
    // Required method
    fn to_field(&self) -> Result<Self::Field, Error>;
}Unary operator for converting to a base field.