Iterator to HashMap
A Rust crate that adds a method to any Iterator or IntoIterator (such as Vec) that converts it to a HashMap using the trait ToHashMap.
extern crate iterator_to_hash_map;
use HashMap;
use ToHashMap;
let brad = Person ;
let barb = Person ;
let a = vec!;
let key_func = ;
let value_func = ;
let map = a.to_hash_map;
#
Contributing
Open a pull request!