#enums #convert #derive #boilerplate #proc-macro #no-alloc

macro no-std asenum_derive

Small derive macro to safely convert the numerical value of an enum to the enum

1 unstable release

0.1.0 Jan 11, 2025

#149 in #boilerplate


Used in asenum

Apache-2.0

4KB

asenum

Small derive macro to safely convert the numerical value of an enum to the enum.

Documentation on docs.rs


lib.rs:

Small derive macro to safely convert the numerical value of an enum to the enum.

Dependencies

~200–630KB
~15K SLoC