Expand description
§repr_cast
A procedural macro for fieldless enums that generates conversions between enum variants and their integer representation types.
§Architecture
This crate follows a clean pipeline architecture for testability:
parse → expand → TokenStream- parse: Validates input and extracts structured data
- expand: Generates output tokens from structured data
Each stage is independently testable with unit tests.
Attribute Macros§
- repr_
cast - An attribute macro for fieldless enums that generates conversions between the enum and its integer representation type.