#enum #variants #iterator

macro enum-iterator-derive

Procedural macro to iterate over the variants of a field-less enum

11 releases (6 breaking)

0.7.0 Jul 25, 2021
0.6.0 Feb 17, 2020
0.5.0 Sep 29, 2019
0.3.0 Jan 25, 2019
0.1.1 Jan 14, 2018

#438 in Rust patterns

Download history 42070/week @ 2021-09-28 44545/week @ 2021-10-05 42737/week @ 2021-10-12 41208/week @ 2021-10-19 37744/week @ 2021-10-26 37981/week @ 2021-11-02 39619/week @ 2021-11-09 43623/week @ 2021-11-16 38461/week @ 2021-11-23 39837/week @ 2021-11-30 41904/week @ 2021-12-07 37764/week @ 2021-12-14 21950/week @ 2021-12-21 21244/week @ 2021-12-28 32979/week @ 2022-01-04 38936/week @ 2022-01-11

120,521 downloads per month
Used in 155 crates (4 directly)

0BSD license

6KB
103 lines

Overview

Procedural macro to derive IntoEnumIterator for field-less enums.

See crate enum-iterator for details.

Contribute

All contributions shall be licensed under the 0BSD license.


lib.rs:

Overview

Procedural macro to derive IntoEnumIterator for field-less enums.

See crate enum-iterator for details.

Contribute

All contributions shall be licensed under the 0BSD license.

Dependencies

~285–700KB
~17K SLoC