#enums #discriminant #operations #better

macro discriminant-macro

Better Discriminant and enum operations

1 unstable release

0.1.0 Oct 6, 2024

#1982 in Procedural macros


Used in discriminant

MIT license

12KB
231 lines

discriminant crate Latest Version Documentation GitHub Actions

This crate defines discriminant type of any enums and operations, more usable than std::mem::Discriminant.

Dependencies

~275–720KB
~16K SLoC