pub trait FromField {
type Field: FieldTrait;
// Required method
fn from_field(field: &Self::Field) -> Result<Self, Error>
where Self: Sized;
}
Expand description
Unary operator for converting from a base field element.
pub trait FromField {
type Field: FieldTrait;
// Required method
fn from_field(field: &Self::Field) -> Result<Self, Error>
where Self: Sized;
}
Unary operator for converting from a base field element.