Function itertools::grouping_map::new_map_for_grouping
source · pub(crate) fn new_map_for_grouping<K, I: Iterator, F: FnMut(&I::Item) -> K>(
iter: I,
key_mapper: F,
) -> MapSpecialCase<I, GroupingMapFn<F>> ⓘ