Module prelude

Source
Expand description

Prelude to use essentials: use my_module::prelude::*.

Enums§

Diff
A type returned by the diff_with function.
Either
The enum Either with variants Left and Right is a general purpose sum type with two cases.
EitherOrBoth
Value that either holds a single A or B, or both.
FoldWhile
An enum used for controlling the execution of fold_while.
MinMaxResult
MinMaxResult is an enum returned by minmax.
Position
A value yielded by WithPosition. Indicates the position of this element in the iterator results.

Traits§

Itertools
An Iterator blanket implementation that provides extra adaptors and methods.
PeekingNext
An iterator that allows peeking at an element before deciding to accept it.