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