Expand description
Compile-time reusable struct field composition for Rust.
Use compose directly on a named-field struct to append public nested
fields. Use struct_fragments on an inline module when fields must be
flattened from reusable fragment definitions.
Attribute Macrosยง
- compose
- Appends public nested fields to a standalone named-field struct.
- struct_
fragments - Composes reusable field fragments within an inline module.