Enum leo_compiler::value::value::ConstrainedValue[][src]

pub enum ConstrainedValue<F: Field + PrimeField, G: GroupType<F>> {
    Address(Address),
    Boolean(Boolean),
    Field(FieldType<F>),
    Group(G),
    Integer(Integer),
    Array(Vec<ConstrainedValue<F, G>>),
    Tuple(Vec<ConstrainedValue<F, G>>),
    CircuitExpression(Arc<CircuitBody>, Vec<ConstrainedCircuitMember<F, G>>),
}

Variants

Address(Address)
Boolean(Boolean)
Field(FieldType<F>)
Group(G)
Integer(Integer)
Array(Vec<ConstrainedValue<F, G>>)
Tuple(Vec<ConstrainedValue<F, G>>)
CircuitExpression(Arc<CircuitBody>, Vec<ConstrainedCircuitMember<F, G>>)

Trait Implementations

impl<F: Clone + Field + PrimeField, G: Clone + GroupType<F>> Clone for ConstrainedValue<F, G>[src]

impl<F: Field + PrimeField, G: GroupType<F>> CondSelectGadget<F> for ConstrainedValue<F, G>[src]

impl<F: Field + PrimeField, G: GroupType<F>> ConditionalEqGadget<F> for ConstrainedValue<F, G>[src]

impl<F: Field + PrimeField, G: GroupType<F>> Debug for ConstrainedValue<F, G>[src]

impl<F: Field + PrimeField, G: GroupType<F>> Display for ConstrainedValue<F, G>[src]

impl<F: Eq + Field + PrimeField, G: Eq + GroupType<F>> Eq for ConstrainedValue<F, G>[src]

impl<F: PartialEq + Field + PrimeField, G: PartialEq + GroupType<F>> PartialEq<ConstrainedValue<F, G>> for ConstrainedValue<F, G>[src]

impl<F: Field + PrimeField, G: GroupType<F>> StructuralEq for ConstrainedValue<F, G>[src]

impl<F: Field + PrimeField, G: GroupType<F>> StructuralPartialEq for ConstrainedValue<F, G>[src]

Auto Trait Implementations

impl<F, G> !RefUnwindSafe for ConstrainedValue<F, G>[src]

impl<F, G> !Send for ConstrainedValue<F, G>[src]

impl<F, G> !Sync for ConstrainedValue<F, G>[src]

impl<F, G> Unpin for ConstrainedValue<F, G> where
    F: Unpin,
    G: Unpin
[src]

impl<F, G> !UnwindSafe for ConstrainedValue<F, G>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<F, T> ConditionalOrEqualsGadget<F> for T where
    F: Field,
    T: ConditionalEqGadget<F> + CondSelectGadget<F>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F, T> OrEqualsGadget<F> for T where
    F: Field,
    T: ConditionalOrEqualsGadget<F>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,