Function test::stats::freq_countExperimental [-]  [+] [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.