#definition #enums #compile-time #variant #macro #getting #traits

nightly const-enum-tools

Trait definitions for working with enums at compile time using macros

2 unstable releases

0.2.0 May 2, 2022
0.1.0 May 1, 2022

#16 in #getting


Used in const-enum-tools-derive

MIT license

3KB

const-enum-tools

A crate with type definitions that allow for versatile operations on enums at compile time, including getting the count of variants and list of variant names.

const-enum-tools-derive can derive these traits for enums.

No runtime deps