Function test::stats::freq_count[src]
pub fn freq_count<T: Iterator<U>, U: Eq + Hash>(iter: T) -> HashMap<U, uint>
Returns a HashMap with the number of occurrences of every element in the sequence that the iterator exposes.
pub fn freq_count<T: Iterator<U>, U: Eq + Hash>(iter: T) -> HashMap<U, uint>
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).