Tools to iterate over the variants of a field-less enum.
See the IntoEnumIterator
trait.
```rust use enum_iterator::IntoEnumIterator;
enum Day { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday }
fn main() { asserteq!(Day::intoenumiter().next(), Some(Day::Monday)); asserteq!(Day::intoenumiter().last(), Some(Day::Sunday)); } ```
All contributions shall be licensed under the 0BSD license.