Enum ark_relations::r1cs::Variable [−][src]
pub enum Variable {
Zero,
One,
Instance(usize),
Witness(usize),
SymbolicLc(LcIndex),
}Expand description
Represents the different kinds of variables present in a constraint system.
Variants
Represents the “zero” constant.
Represents of the “one” constant.
Represents a public instance variable.
Represents a private witness variable.
SymbolicLc(LcIndex)Represents of a linear combination.
Implementations
Is self an instance variable?
Is self a witness variable?
Get the LcIndex in self if self.is_lc().
Returns Some(usize) if !self.is_lc(), and None otherwise.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>The resulting type after applying the - operator.
Performs the - operation. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V