pub struct Constraints {
pub init: Vec<ConstraintCircuitMonad<SingleRowIndicator>>,
pub cons: Vec<ConstraintCircuitMonad<SingleRowIndicator>>,
pub tran: Vec<ConstraintCircuitMonad<DualRowIndicator>>,
pub term: Vec<ConstraintCircuitMonad<SingleRowIndicator>>,
}
Fields§
§init: Vec<ConstraintCircuitMonad<SingleRowIndicator>>
§cons: Vec<ConstraintCircuitMonad<SingleRowIndicator>>
§tran: Vec<ConstraintCircuitMonad<DualRowIndicator>>
§term: Vec<ConstraintCircuitMonad<SingleRowIndicator>>
Implementations§
Source§impl Constraints
impl Constraints
pub fn all() -> Constraints
pub fn default_degree_lowering_info() -> DegreeLoweringInfo
pub fn initial_constraints() -> Vec<ConstraintCircuitMonad<SingleRowIndicator>>
pub fn consistency_constraints() -> Vec<ConstraintCircuitMonad<SingleRowIndicator>>
pub fn transition_constraints() -> Vec<ConstraintCircuitMonad<DualRowIndicator>>
pub fn terminal_constraints() -> Vec<ConstraintCircuitMonad<SingleRowIndicator>>
pub fn lower_to_target_degree_through_substitutions( &mut self, lowering_info: DegreeLoweringInfo, ) -> AllSubstitutions
pub fn combine_with_substitution_induced_constraints( self, _: AllSubstitutions, ) -> Self
pub fn init(&self) -> Vec<ConstraintCircuit<SingleRowIndicator>>
pub fn cons(&self) -> Vec<ConstraintCircuit<SingleRowIndicator>>
pub fn tran(&self) -> Vec<ConstraintCircuit<DualRowIndicator>>
pub fn term(&self) -> Vec<ConstraintCircuit<SingleRowIndicator>>
Trait Implementations§
Source§impl Clone for Constraints
impl Clone for Constraints
Source§fn clone(&self) -> Constraints
fn clone(&self) -> Constraints
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 Freeze for Constraints
impl !RefUnwindSafe for Constraints
impl !Send for Constraints
impl !Sync for Constraints
impl Unpin for Constraints
impl !UnwindSafe for Constraints
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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