Function itertools::group_map::into_group_map_by

source ยท
pub fn into_group_map_by<I, K, V, F>(iter: I, f: F) -> HashMap<K, Vec<V>>
where I: Iterator<Item = V>, K: Hash + Eq, F: FnMut(&V) -> K,