Module priority_queue::double_priority_queue::iterators
source · Expand description
This module defines iterator types that are used only with the DoublePriorityQueue
Usually you don’t need to explicitly use
any of the types declared here.
Structs§
- A consuming iterator over the couples
(item, priority)
of thePriorityQueue
ordered by priority, from the lowest to the highest. - A mutable iterator over the couples
(item, priority)
of theDoublePriorityQueue
in arbitrary order.