Enum ark_r1cs_std::alloc::AllocationMode [−][src]
pub enum AllocationMode {
Constant,
Input,
Witness,
}Expand description
Describes the mode that a variable should be allocated in within
a ConstraintSystem.
Variants
Indicate to the ConstraintSystem that the high-level variable should
be allocated as a constant. That is, no Variables should be
generated.
Indicate to the ConstraintSystem that the high-level variable should
be allocated as a public input to the ConstraintSystem.
Indicate to the ConstraintSystem that the high-level variable should
be allocated as a private witness to the ConstraintSystem.
Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for AllocationModeimpl Send for AllocationModeimpl Sync for AllocationModeimpl Unpin for AllocationModeimpl UnwindSafe for AllocationModeBlanket 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