logo
Expand description

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

Enums

A type returned by the diff_with function.

The enum Either with variants Left and Right 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 by minmax.

A value yielded by WithPosition. Indicates the position of this element in the iterator results.

Traits

An Iterator blanket implementation that provides extra adaptors and methods.

An iterator that allows peeking at an element before deciding to accept it.