pub trait FromFields {
    type Field: FieldTrait;

    // Required method
    fn from_fields(fields: &[Self::Field]) -> Result<Self, Error>
       where Self: Sized;
}
Expand description

Unary operator for converting from a list of base elements.

Required Associated Types§

Required Methods§

source

fn from_fields(fields: &[Self::Field]) -> Result<Self, Error>where Self: Sized,

Initializes an object from a list of base field elements.

Implementors§

source§

impl<E, I> FromFields for Integer<E, I>where E: Environment, I: IntegerType,

§

type Field = Field<E>