Enum ark_relations::r1cs::SynthesisMode
source · pub enum SynthesisMode {
Setup,
Prove {
construct_matrices: bool,
},
}
Expand description
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
Fields
Indicate to the ConstraintSystem
that it populate the variable
assignments. If additionally construct_matrices == true
, then generate
the matrices as in the Setup
case.
Trait Implementations§
source§impl Clone for SynthesisMode
impl Clone for SynthesisMode
source§fn clone(&self) -> SynthesisMode
fn clone(&self) -> SynthesisMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SynthesisMode
impl Debug for SynthesisMode
source§impl Ord for SynthesisMode
impl Ord for SynthesisMode
source§fn cmp(&self, other: &SynthesisMode) -> Ordering
fn cmp(&self, other: &SynthesisMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SynthesisMode> for SynthesisMode
impl PartialEq<SynthesisMode> for SynthesisMode
source§fn eq(&self, other: &SynthesisMode) -> bool
fn eq(&self, other: &SynthesisMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SynthesisMode> for SynthesisMode
impl PartialOrd<SynthesisMode> for SynthesisMode
source§fn partial_cmp(&self, other: &SynthesisMode) -> Option<Ordering>
fn partial_cmp(&self, other: &SynthesisMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more