counted_map 0.4.0

a hashmap that automatically assigns keys to pushed values
Documentation
1
2
3
4
5
6
7
8
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct HashMapFull<V>(pub V);

impl<V> HashMapFull<V> {
    pub fn into(self) -> V {
        self.0
    }
}