Crate exhaust

source ·
Expand description

This crate provides the Exhaust trait and derive macro, which allow iterating over all values of a given type.

Re-exports

Modules

  • Implementations of Exhaust for standard library types.
  • Assistance for implementing exhaustive iterators.

Traits

  • Types that can be exhaustively iterated. That is, an iterator is available which produces every possible value of this type.

Functions

Derive Macros

  • Derive macro generating an impl of the trait exhaust::Exhaust.