Skip to main content

Module map

Module map 

Source
Expand description

OrderedMap: a map with string keys that keeps them in insertion order, so the crate needs no third-party map.

Structsยง

IntoIter
The entries of an OrderedMap, in order, by value.
Iter
The entries of an OrderedMap, in order.
OrderedMap
A map from strings to V that keeps its keys in the order they were inserted. Lookups are O(1): small maps scan their few entries, and larger ones keep a hash index of positions. Inserting or removing at a position shifts the entries after it, in O(n).