CountMap
Implementation of a count map in Rust. A map that holds a counter as a value, that gets incremented each time the key is added to the map. This implementation simply decorates the HashMap from the Rust std library.
Usage
Add the following to your Cargo.toml
:
[]
= "0.1"
Next, add this to your crate root:
extern crate countmap;
Now you can use a count map in your code: