#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

#125 in #enum

Download history 37/week @ 2024-02-19 20/week @ 2024-02-26 7/week @ 2024-03-04 28/week @ 2024-03-11 10/week @ 2024-03-18 16/week @ 2024-03-25 49/week @ 2024-04-01

104 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
~32K SLoC