Crate vec_map

Source
Expand description

A simple map based on a vector for small integer keys. Space requirements are O(highest integer key).

Structs§

Drain
A draining iterator over the key-value pairs of a map.
IntoIter
A consuming iterator over the key-value pairs of a map.
Iter
An iterator over the key-value pairs of a map.
IterMut
An iterator over the key-value pairs of a map, with the values being mutable.
Keys
An iterator over the keys of a map.
OccupiedEntry
An occupied Entry.
VacantEntry
A vacant Entry.
Values
An iterator over the values of a map.
ValuesMut
An iterator over the values of a map.
VecMap
A map optimized for small integer keys.

Enums§

Entry
A view into a single entry in a map, which may either be vacant or occupied.