Function itertools::merge_join_by
source · [−]pub fn merge_join_by<I, J, F, T>(
left: I,
right: J,
cmp_fn: F
) -> MergeJoinBy<I::IntoIter, J::IntoIter, F>ⓘNotable traits for MergeJoinBy<I, J, F>impl<I, J, F, T> Iterator for MergeJoinBy<I, J, F>where
I: Iterator,
J: Iterator,
F: FnMut(&I::Item, &J::Item) -> T,
T: OrderingOrBool<I::Item, J::Item>, type Item = T::MergeResult;
where
I: IntoIterator,
J: IntoIterator,
F: FnMut(&I::Item, &J::Item) -> T,
T: OrderingOrBool<I::Item, J::Item>,
Expand description
Return an iterator adaptor that merge-joins items from the two base iterators in ascending order.
IntoIterator
enabled version of Itertools::merge_join_by
.