pub trait ToMap<K, V> { // Required method fn to_map(self) -> HashMap<K, V>; }
convenient to_map() method on iterators
collect values into a HashMap