Expand description
There is a map with a fixed capacity and integers as keys.
For example, here is a map with a few keys can be created:
use emap::Map;
let mut m : Map<&str> = Map::with_capacity_none(10);
m.insert(0, "Hello, world!");
m.insert(1, "Good bye!");
assert_eq!(2, m.len());
The map will have exactly ten elements. An attempt to add an 11th element will lead to a panic.