Struct leo_synthesizer::circuit_synthesizer::CircuitSynthesizer[][src]

pub struct CircuitSynthesizer<E: PairingEngine> {
    pub constraints: OptionalVec<ConstraintSet<E>>,
    pub public_variables: OptionalVec<E::Fr>,
    pub private_variables: OptionalVec<E::Fr>,
    pub namespaces: Vec<Namespace>,
}

Fields

constraints: OptionalVec<ConstraintSet<E>>public_variables: OptionalVec<E::Fr>private_variables: OptionalVec<E::Fr>namespaces: Vec<Namespace>

Trait Implementations

impl<E: PairingEngine> ConstraintSystem<<E as PairingEngine>::Fr> for CircuitSynthesizer<E>[src]

type Root = Self

Represents the type of the “root” of this constraint system so that nested namespaces can minimize indirection. Read more

impl<E: PairingEngine> From<CircuitSynthesizer<E>> for SerializedCircuit[src]

impl TryFrom<SerializedCircuit> for CircuitSynthesizer<Bls12_377>[src]

type Error = FieldError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<E> RefUnwindSafe for CircuitSynthesizer<E> where
    <E as PairingEngine>::Fr: RefUnwindSafe

impl<E> Send for CircuitSynthesizer<E>

impl<E> Sync for CircuitSynthesizer<E>

impl<E> Unpin for CircuitSynthesizer<E> where
    <E as PairingEngine>::Fr: Unpin

impl<E> UnwindSafe for CircuitSynthesizer<E> where
    <E as PairingEngine>::Fr: UnwindSafe

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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, 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>,