Tools to iterate over all values of a type (e.g. all variants of an enumeration).
# Cargo.toml
[dependencies]
enum-iterator = "2.3.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Iterates over all variants of an enum using the `Sequence` derive macro.
Add `use enum_iterator::Sequence;` and derive `Sequence` on the enum.
No dependency data recorded yet.