Module cycle_map::optionals

source ·
Expand description

Enums similar to Option

Enums

  • An OptionalPair represents a tuple whose elements are both Options. It is a more ergonomic alternative to (Option<(L,R)>,Option<(L,R)>), and is most often used as a return value for a map’s insert method.

Type Aliases

  • A shorthand for an optional pair of tuples used in some map insert methods