Function itertools::merge_join::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>
where I: IntoIterator, J: IntoIterator, F: FnMut(&I::Item, &J::Item) -> T,
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.