#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

#71 in #enum

Download history 5/week @ 2024-11-19 19/week @ 2024-11-26 37/week @ 2024-12-03 39/week @ 2024-12-10 10/week @ 2024-12-17 12/week @ 2025-01-07 22/week @ 2025-01-14 12/week @ 2025-01-21 12/week @ 2025-01-28 29/week @ 2025-02-04 18/week @ 2025-02-11 15/week @ 2025-02-18 37/week @ 2025-02-25 38/week @ 2025-03-04

122 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
~37K SLoC