Trait ToFields

Source
pub trait ToFields {
    type Field: FieldTrait;

    // Required method
    fn to_fields(&self) -> Vec<Self::Field>;
}
Expand description

Unary operator for converting to a list of base fields.

Required Associated Types§

Required Methods§

Source

fn to_fields(&self) -> Vec<Self::Field>

Returns the circuit as a list of base field elements.

Implementors§

Source§

impl<A> ToFields for &Literal<A>
where A: Aleo,

Source§

impl<A> ToFields for InputID<A>
where A: Aleo,

Source§

impl<A> ToFields for Literal<A>
where A: Aleo,

Source§

impl<A> ToFields for Plaintext<A>
where A: Aleo,

Source§

impl<A> ToFields for Value<A>
where A: Aleo,

Source§

impl<A> ToFields for Ciphertext<A>
where A: Aleo,

Source§

impl<A> ToFields for ComputeKey<A>
where A: Aleo,

Source§

impl<A> ToFields for Future<A>
where A: Aleo,

Source§

impl<A> ToFields for ProgramID<A>
where A: Aleo,

Source§

impl<A> ToFields for Record<A, Plaintext<A>>
where A: Aleo,

Source§

impl<A> ToFields for Record<A, Ciphertext<A>>
where A: Aleo,

Source§

impl<A> ToFields for Signature<A>
where A: Aleo,

Source§

impl<E> ToFields for Scalar<E>
where E: Environment,

Source§

impl<E> ToFields for StringType<E>
where E: Environment,

Source§

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