[−][src]Module molt::dict
Dictionary Utilities
Dictionaries are implemented on top of the indexmap::IndexMap type, a drop-in replacement for std::collections::HashMap that preserves the order of keys.
- Warning: when removing items from a dictionary, use
dict_remove
, defined here, as it preserves the order. UsingIndexMap::remove
does not.
Functions
dict_new | Create an empty dict. |