pub struct OrderedConstraintSetChain<Left, Right> { /* private fields */ }Implementations§
Source§impl<Left, Right> OrderedConstraintSetChain<Left, Right>
impl<Left, Right> OrderedConstraintSetChain<Left, Right>
pub fn new(left: Left, right: Right, order: Vec<ConstraintSetSource>) -> Self
Trait Implementations§
Source§impl<S, Sc, Left, Right> ConstraintSet<S, Sc> for OrderedConstraintSetChain<Left, Right>
impl<S, Sc, Left, Right> ConstraintSet<S, Sc> for OrderedConstraintSetChain<Left, Right>
fn evaluate_all(&self, solution: &S) -> Sc
fn constraint_count(&self) -> usize
fn evaluate_each<'a>(&'a self, solution: &S) -> Vec<ConstraintResult<'a, Sc>>
fn evaluate_detailed<'a>( &'a self, solution: &S, ) -> Vec<ConstraintAnalysis<'a, Sc>>
fn initialize_all(&mut self, solution: &S) -> Sc
fn on_insert_all( &mut self, solution: &S, entity_index: usize, descriptor_index: usize, ) -> Sc
fn on_retract_all( &mut self, solution: &S, entity_index: usize, descriptor_index: usize, ) -> Sc
fn reset_all(&mut self)
fn constraint_metadata(&self) -> Vec<ConstraintMetadata<'_>>
Auto Trait Implementations§
impl<Left, Right> Freeze for OrderedConstraintSetChain<Left, Right>
impl<Left, Right> RefUnwindSafe for OrderedConstraintSetChain<Left, Right>where
Left: RefUnwindSafe,
Right: RefUnwindSafe,
impl<Left, Right> Send for OrderedConstraintSetChain<Left, Right>
impl<Left, Right> Sync for OrderedConstraintSetChain<Left, Right>
impl<Left, Right> Unpin for OrderedConstraintSetChain<Left, Right>
impl<Left, Right> UnsafeUnpin for OrderedConstraintSetChain<Left, Right>where
Left: UnsafeUnpin,
Right: UnsafeUnpin,
impl<Left, Right> UnwindSafe for OrderedConstraintSetChain<Left, Right>where
Left: UnwindSafe,
Right: UnwindSafe,
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