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