pub trait FromField {
    type Field: FieldTrait;

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

Unary operator for converting from a base field element.

Required Associated Types

Required Methods

Initializes an object from a base field element.

Implementations on Foreign Types

Initializes a new group by recovering the x-coordinate of an affine group from a field element.

Initialize an integer from a field element.

Implementors