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.
pub trait FromFields {
type Field: FieldTrait;
// Required method
fn from_fields(fields: &[Self::Field]) -> Result<Self, Error>
where Self: Sized;
}
Unary operator for converting from a list of base elements.