Expand description
This crate provides the Exhaust
trait and derive macro, which allow iterating over
all values of a given type.
§Package features
All features are enabled by default.
If you set default-features = false
, exhaust
becomes no_std
compatible.
The alloc
and std
features add Exhaust
implementations for
the corresponding standard library crates.
Modules§
- iteration
- Assistance for implementing exhaustive iterators.
Structs§
Traits§
- Exhaust
- Types that can be exhaustively iterated. That is, an iterator is available which produces every possible value of this type.