pub fn freq_count<T: std::iter::Iterator, U: std::cmp::Eq + std::hash::Hash>(iter: T) -> std::hashmap::HashMap
Returns a HashMap with the number of occurrences of every element in the sequence that the iterator exposes.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).