#type #enums #macro #derive #utiliy

macro try_as_macros

Macros to ease using enums whose sole purpose is to enumerate a set of types

1 unstable release

0.1.0 Dec 22, 2022

#846 in #enums

Download history 24/week @ 2024-04-16 19/week @ 2024-04-23 8/week @ 2024-04-30 16/week @ 2024-05-07 15/week @ 2024-05-14 8/week @ 2024-05-21 9/week @ 2024-05-28 17/week @ 2024-06-04 20/week @ 2024-06-11 10/week @ 2024-06-18 10/week @ 2024-06-25 10/week @ 2024-07-02 16/week @ 2024-07-09 10/week @ 2024-07-16 17/week @ 2024-07-23 24/week @ 2024-07-30

76 downloads per month
Used in try_as

Custom license

12KB
167 lines

A set of macros to ease using enums whose sole purpose is to enumerate a set of types, used by the crate try_as.

See the the crate documentation for more information and documentation on how to use the macros.


lib.rs:

A set of macros to ease using enums whose sole purpose is to enumerate a set of types, used by the crate try_as.

See the the crate documentation for more information and documentation on how to use the macros.

Dependencies

~1.5MB
~35K SLoC