Attribute Macros

Create a “discriminant” enum for the current enum: a data-less version of the enum that can be used to match solely on the variant names.