Module iter_tools::prelude
source · Expand description
Prelude to use essentials: use my_module::prelude::*
.
Enums§
- A type returned by the
diff_with
function. - The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases. - Value that either holds a single A or B, or both.
- An enum used for controlling the execution of
fold_while
. MinMaxResult
is an enum returned byminmax
.- The first component of the value yielded by
WithPosition
. Indicates the position of this element in the iterator results.
Traits§
- Extension of iterator.
- An
Iterator
blanket implementation that provides extra adaptors and methods. - An iterator that allows peeking at an element before deciding to accept it.