pub struct ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>where
Sc: Score,{ /* private fields */ }Implementations§
Source§impl<S, Out, K, Src, F, KF, C, Sc> ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>where
S: Send + Sync + 'static,
Out: Clone + Send + Sync + 'static,
K: Clone + Eq + Hash + Send + Sync + 'static,
Src: ProjectedSource<S, Out>,
F: UniFilter<S, Out>,
KF: Fn(&Out) -> K + Send + Sync,
C: UniCollector<Out> + Send + Sync + 'static,
C::Accumulator: Send + Sync,
C::Value: Clone + Send + Sync,
C::Result: Clone + Send + Sync,
Sc: Score + 'static,
impl<S, Out, K, Src, F, KF, C, Sc> ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>where
S: Send + Sync + 'static,
Out: Clone + Send + Sync + 'static,
K: Clone + Eq + Hash + Send + Sync + 'static,
Src: ProjectedSource<S, Out>,
F: UniFilter<S, Out>,
KF: Fn(&Out) -> K + Send + Sync,
C: UniCollector<Out> + Send + Sync + 'static,
C::Accumulator: Send + Sync,
C::Value: Clone + Send + Sync,
C::Result: Clone + Send + Sync,
Sc: Score + 'static,
pub fn penalize_hard_with<W>( self, weight_fn: W, ) -> ProjectedGroupedConstraintBuilder<S, Out, K, Src, F, KF, C, W, Sc>
pub fn penalize_with<W>( self, weight_fn: W, ) -> ProjectedGroupedConstraintBuilder<S, Out, K, Src, F, KF, C, W, Sc>
Auto Trait Implementations§
impl<S, Out, K, Src, F, KF, C, Sc> Freeze for ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>
impl<S, Out, K, Src, F, KF, C, Sc> RefUnwindSafe for ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>
impl<S, Out, K, Src, F, KF, C, Sc> Send for ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>
impl<S, Out, K, Src, F, KF, C, Sc> Sync for ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>
impl<S, Out, K, Src, F, KF, C, Sc> Unpin for ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>
impl<S, Out, K, Src, F, KF, C, Sc> UnsafeUnpin for ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, Sc>
impl<S, Out, K, Src, F, KF, C, Sc> UnwindSafe for ProjectedGroupedConstraintStream<S, Out, K, Src, F, KF, C, 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