Enum ark_relations::r1cs::SynthesisMode[][src]

pub enum SynthesisMode {
    Setup,
    Prove {
        construct_matrices: bool,
    },
}

Defines the mode of operation of a ConstraintSystem.

Variants

Setup

Indicate to the ConstraintSystem that it should only generate constraint matrices and not populate the variable assignments.

Prove

Indicate to the ConstraintSystem that it populate the variable assignments. If additionally construct_matrices == true, then generate the matrices as in the Setup case.

Fields of Prove

construct_matrices: bool

If construct_matrices == true, then generate the matrices as in the Setup case.

Trait Implementations

impl Clone for SynthesisMode[src]

impl Copy for SynthesisMode[src]

impl Debug for SynthesisMode[src]

impl Eq for SynthesisMode[src]

impl Ord for SynthesisMode[src]

impl PartialEq<SynthesisMode> for SynthesisMode[src]

impl PartialOrd<SynthesisMode> for SynthesisMode[src]

impl StructuralEq for SynthesisMode[src]

impl StructuralPartialEq for SynthesisMode[src]

Auto Trait Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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>,