Module itertools::grouping_map
source · Structs
GroupingMap
is an intermediate struct for efficient group-and-fold operations. It groups elements by their key and at the same time fold each group using some aggregating operation.- A wrapper to allow for an easy
into_grouping_map_by
Functions
- Creates a new
GroupingMap
fromiter
Type Aliases
GroupingMapBy
is an intermediate struct for efficient group-and-fold operations.