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> Freeze for Constraint<F>where
F: Freeze,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more