pub struct ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>where
Sc: Score,{ /* private fields */ }Implementations§
Source§impl<S, Out, K, Src, F, KF, PF, Sc> ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
impl<S, Out, K, Src, F, KF, PF, Sc> ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
pub fn filter<P>( self, predicate: P, ) -> ProjectedBiConstraintStream<S, Out, K, Src, F, KF, AndBiFilter<PF, FnBiFilter<impl Fn(&S, &Out, &Out) -> bool + Send + Sync>>, Sc>
pub fn penalize_with<W>( self, weight: W, ) -> ProjectedBiConstraintBuilder<S, Out, K, Src, F, KF, PF, W, Sc>
pub fn penalize_hard_with<W>( self, weight: W, ) -> ProjectedBiConstraintBuilder<S, Out, K, Src, F, KF, PF, W, Sc>
Auto Trait Implementations§
impl<S, Out, K, Src, F, KF, PF, Sc> Freeze for ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
impl<S, Out, K, Src, F, KF, PF, Sc> RefUnwindSafe for ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
impl<S, Out, K, Src, F, KF, PF, Sc> Send for ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
impl<S, Out, K, Src, F, KF, PF, Sc> Sync for ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
impl<S, Out, K, Src, F, KF, PF, Sc> Unpin for ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
impl<S, Out, K, Src, F, KF, PF, Sc> UnsafeUnpin for ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, Sc>
impl<S, Out, K, Src, F, KF, PF, Sc> UnwindSafe for ProjectedBiConstraintStream<S, Out, K, Src, F, KF, PF, 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