Module 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§

ExtractIf
An Iterator in arbitrary order which uses a predicate to determine if an element should be removed from the PriorityQueue.
IntoSortedIter
A consuming iterator over the couples (item, priority) of the PriorityQueue ordered by priority, from the highest to the lowest.
IterMut
A mutable iterator over the couples (item, priority) of the PriorityQueue in arbitrary order.