Module queue

Source
Expand description

A linked hash map ordered by insertion which can be reordered by swapping, useful as a simple priority queue (e.g. an LFU or LRU cache).

Structsยง

IntoIter
An iterator over the contents of a LinkedHashMap
Iter
An iterator over the entries in a LinkedHashMap
Keys
An iterator over the keys in a LinkedHashMap
LinkedHashMap
A hash map in insertion order which can be reordered using Self::bump and Self::swap.
Values
An iterator over the values in a LinkedHashMap