Syn Helpers
Framework for building derive proc macros over structures (struct
and enum
).
Handles:
- Getting the expressions referencing fields and building patterns for enums
- Using the same logic for deriving over a enum or struct
- Error handling and generating
compile_error
output - Generics on trait and structure (including conflict rectification)
Used in / example usage:
Design work in progress