pub struct DirectComplementAdapter<KB, K, R> { /* private fields */ }Implementations§
Source§impl<KB, K, R> DirectComplementAdapter<KB, K, R>
impl<KB, K, R> DirectComplementAdapter<KB, K, R>
Trait Implementations§
Source§impl<S, I, F, C, K, Acc, V, R, EB, P, D, B, W, KB, Sc> AdaptWeight<S, ComplementNode<S, CollectionNode<S, EB>, GroupNode<I, F, C, K, Acc, V, R>, P, D, R>, W, Sc> for DirectComplementAdapter<KB, K, R>where
S: 'static,
I: Operator<S>,
F: for<'a> Fn(&I::View<'a>) -> K + Send + Sync + 'static,
C: for<'a> Collector<I::View<'a>, Value = V, Result = R, Accumulator = Acc> + 'static,
K: Eq + Hash + Send + Sync + 'static,
Acc: Accumulator<V, R> + 'static,
V: Send + Sync + 'static,
R: Send + Sync + 'static,
B: Send + Sync + 'static,
EB: CollectionExtract<S, Item = B> + 'static,
for<'a> P: IndexedPlan + KeyOf + RightKeyOf<Key = <P as KeyOf>::Key> + 'static + ExecutablePlan<Leaf<'a, B>, GroupView<'a, S, I, K, Acc, V, R>>,
D: for<'a> Fn(&S, &Leaf<'a, B>) -> R + Send + Sync + 'static,
W: for<'a> ConstraintWeight<(&'a K, &'a R), Sc> + Send + Sync,
KB: Fn(&B) -> K + Send + Sync + Clone,
Sc: Score,
impl<S, I, F, C, K, Acc, V, R, EB, P, D, B, W, KB, Sc> AdaptWeight<S, ComplementNode<S, CollectionNode<S, EB>, GroupNode<I, F, C, K, Acc, V, R>, P, D, R>, W, Sc> for DirectComplementAdapter<KB, K, R>where
S: 'static,
I: Operator<S>,
F: for<'a> Fn(&I::View<'a>) -> K + Send + Sync + 'static,
C: for<'a> Collector<I::View<'a>, Value = V, Result = R, Accumulator = Acc> + 'static,
K: Eq + Hash + Send + Sync + 'static,
Acc: Accumulator<V, R> + 'static,
V: Send + Sync + 'static,
R: Send + Sync + 'static,
B: Send + Sync + 'static,
EB: CollectionExtract<S, Item = B> + 'static,
for<'a> P: IndexedPlan + KeyOf + RightKeyOf<Key = <P as KeyOf>::Key> + 'static + ExecutablePlan<Leaf<'a, B>, GroupView<'a, S, I, K, Acc, V, R>>,
D: for<'a> Fn(&S, &Leaf<'a, B>) -> R + Send + Sync + 'static,
W: for<'a> ConstraintWeight<(&'a K, &'a R), Sc> + Send + Sync,
KB: Fn(&B) -> K + Send + Sync + Clone,
Sc: Score,
Auto Trait Implementations§
impl<KB, K, R> Freeze for DirectComplementAdapter<KB, K, R>
impl<KB, K, R> RefUnwindSafe for DirectComplementAdapter<KB, K, R>
impl<KB, K, R> Send for DirectComplementAdapter<KB, K, R>
impl<KB, K, R> Sync for DirectComplementAdapter<KB, K, R>
impl<KB, K, R> Unpin for DirectComplementAdapter<KB, K, R>
impl<KB, K, R> UnsafeUnpin for DirectComplementAdapter<KB, K, R>
impl<KB, K, R> UnwindSafe for DirectComplementAdapter<KB, K, R>
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