Skip to main content

accumulate_all

Function accumulate_all 

Source
pub const fn accumulate_all<'a, Key, ValAccum, ValIn, Accum, S, Prev>(
    accum: &'a mut Accum,
    hash_map: &'a mut HashMap<Key, ValAccum, S>,
    prev: Prev,
) -> AccumulateAll<'a, Prev, Accum, Key, ValAccum, ValIn, S> 
where Key: Eq + Hash, Accum: Accumulator<ValAccum, ValIn>, Prev: Pull<Item = (Key, ValIn)>, S: BuildHasher,
Available on crate feature std only.
Expand description

Use the accumulator accum to accumulate all entries in the Pull prev into the hash_map.