pub struct ConstraintFactory<S, Sc: Score> { /* private fields */ }Implementations§
Source§impl<S, Sc> ConstraintFactory<S, Sc>
impl<S, Sc> ConstraintFactory<S, Sc>
pub fn new() -> Self
pub fn for_each<A, E>( self, extractor: E, ) -> UniConstraintStream<S, A, E, TrueFilter, Sc>
pub fn for_each_unique_pair<A, E, K, KA>( self, extractor: E, joiner: EqualJoiner<KA, KA, K>, ) -> BiConstraintStream<S, A, K, E, impl Fn(&S, &A, usize) -> K + Send + Sync, TrueFilter, Sc>
Trait Implementations§
Source§impl<S, Sc: Score> Clone for ConstraintFactory<S, Sc>
impl<S, Sc: Score> Clone for ConstraintFactory<S, Sc>
Source§impl<S, Sc: Score> Debug for ConstraintFactory<S, Sc>
impl<S, Sc: Score> Debug for ConstraintFactory<S, Sc>
Auto Trait Implementations§
impl<S, Sc> Freeze for ConstraintFactory<S, Sc>
impl<S, Sc> RefUnwindSafe for ConstraintFactory<S, Sc>
impl<S, Sc> Send for ConstraintFactory<S, Sc>
impl<S, Sc> Sync for ConstraintFactory<S, Sc>
impl<S, Sc> Unpin for ConstraintFactory<S, Sc>
impl<S, Sc> UnsafeUnpin for ConstraintFactory<S, Sc>
impl<S, Sc> UnwindSafe for ConstraintFactory<S, 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