pub struct PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>where
Sc: Score,{ /* private fields */ }Implementations§
Source§impl<S, A, K, E, KE, F, W, Sc> PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
impl<S, A, K, E, KE, F, W, Sc> PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
pub fn for_descriptor(self, descriptor_index: usize) -> Self
pub fn named( self, name: &str, ) -> IncrementalPentaConstraint<S, A, K, E, KE, impl Fn(&S, &A, &A, &A, &A, &A) -> bool + Send + Sync, impl Fn(&S, usize, usize, usize, usize, usize) -> Sc + Send + Sync, Sc>
pub fn as_constraint( self, name: &str, ) -> IncrementalPentaConstraint<S, A, K, E, KE, impl Fn(&S, &A, &A, &A, &A, &A) -> bool + Send + Sync, impl Fn(&S, usize, usize, usize, usize, usize) -> Sc + Send + Sync, Sc>
Trait Implementations§
Auto Trait Implementations§
impl<S, A, K, E, KE, F, W, Sc> Freeze for PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
impl<S, A, K, E, KE, F, W, Sc> RefUnwindSafe for PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
impl<S, A, K, E, KE, F, W, Sc> Send for PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
impl<S, A, K, E, KE, F, W, Sc> Sync for PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
impl<S, A, K, E, KE, F, W, Sc> Unpin for PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
impl<S, A, K, E, KE, F, W, Sc> UnsafeUnpin for PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
impl<S, A, K, E, KE, F, W, Sc> UnwindSafe for PentaConstraintBuilder<S, A, K, E, KE, F, W, Sc>
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