#enum #iterator #variants

macro enum-iterator-derive

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

5 releases

0.2.3 Oct 19, 2018
0.2.2 Oct 19, 2018
0.2.0 Jul 2, 2018
0.1.1 Jan 14, 2018
0.1.0 Jan 13, 2018

#47 in Rust patterns

Download history 192/week @ 2018-10-26 377/week @ 2018-11-02 523/week @ 2018-11-09 434/week @ 2018-11-16 369/week @ 2018-11-23 375/week @ 2018-11-30 439/week @ 2018-12-07 562/week @ 2018-12-14 536/week @ 2018-12-21 494/week @ 2018-12-28 279/week @ 2019-01-04 402/week @ 2019-01-11 354/week @ 2019-01-18

1,790 downloads per month
Used in 3 crates (2 directly)

MIT license

4KB
72 lines

Documentation Crate MIT license

Purpose

Trait and procedural macro to iterate over the variants of a field-less enum.


lib.rs:

Procedural macro to derive IntoEnumIterator for field-less enums.

See crate enum-iterator for details.

Dependencies

~1MB
~19K SLoC