pub trait ToFields {
type Field: FieldTrait;
// Required method
fn to_fields(&self) -> Result<Vec<Self::Field>, Error>;
}
Expand description
Unary operator for converting to a list of base fields.
Returns the object as a list of base field elements.
Returns the address as field elements.
Returns the group as field elements.
Returns the integer as field elements.
Returns this plaintext as a list of field elements.
Returns the stack value as a list of fields.
Casts a compute key into a list of base fields.
Casts a signature into a list of base fields.
Returns this ciphertext as a list of field elements.
Returns the future as a list of fields.
Returns this record as a list of field elements.
Returns this record as a list of field elements.
Returns this program ID as a list of field elements.
Returns this locator as a list of field elements.