Crate extruct_macros
source ·Attribute Macros§
- An attribute macro implements the
std::convert::Fromtrait for an annotated non-generic named struct using a “superstruct” specified as the attribute parameter as a source type and theExtructedFrommarker trait that indicates that struct fields populated during conversion from superstruct all have same names in both structs.
Derive Macros§
- A derive macro implements the
Fieldstrait for a struct.