Struct snarkvm_circuit_environment::helpers::constraint::Constraint
source · pub struct Constraint<F: PrimeField>(/* private fields */);
Implementations§
source§impl<F: PrimeField> Constraint<F>
impl<F: PrimeField> Constraint<F>
sourcepub fn to_terms(
&self
) -> (&LinearCombination<F>, &LinearCombination<F>, &LinearCombination<F>)
pub fn to_terms( &self ) -> (&LinearCombination<F>, &LinearCombination<F>, &LinearCombination<F>)
Returns a reference to the terms (a, b, c)
.
Trait Implementations§
source§impl<F: Clone + PrimeField> Clone for Constraint<F>
impl<F: Clone + PrimeField> Clone for Constraint<F>
source§fn clone(&self) -> Constraint<F>
fn clone(&self) -> Constraint<F>
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<F: Debug + PrimeField> Debug for Constraint<F>
impl<F: Debug + PrimeField> Debug for Constraint<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for Constraint<F>where F: RefUnwindSafe,
impl<F> !Send for Constraint<F>
impl<F> !Sync for Constraint<F>
impl<F> Unpin for Constraint<F>where F: Unpin,
impl<F> UnwindSafe for Constraint<F>where F: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more