pub struct ConstraintSet<F: Field> {
pub n_vars: usize,
pub oracle_ids: Vec<OracleId>,
pub constraints: Vec<Constraint<F>>,
}
Expand description
Constraint set is a group of constraints that operate over the same set of oracle-identified multilinears
Fields§
§n_vars: usize
§oracle_ids: Vec<OracleId>
§constraints: Vec<Constraint<F>>
Trait Implementations§
Source§impl<F: Clone + Field> Clone for ConstraintSet<F>
impl<F: Clone + Field> Clone for ConstraintSet<F>
Source§fn clone(&self) -> ConstraintSet<F>
fn clone(&self) -> ConstraintSet<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 moreAuto Trait Implementations§
impl<F> Freeze for ConstraintSet<F>
impl<F> RefUnwindSafe for ConstraintSet<F>
impl<F> Send for ConstraintSet<F>
impl<F> Sync for ConstraintSet<F>
impl<F> Unpin for ConstraintSet<F>
impl<F> UnwindSafe for ConstraintSet<F>
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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