Crate extruct_macros

Source

Attribute Macros§

extruct_from
An attribute macro implements the std::convert::From trait for an annotated non-generic named struct using a “superstruct” specified as the attribute parameter as a source type and the ExtructedFrom marker trait that indicates that struct fields populated during conversion from superstruct all have same names in both structs.

Derive Macros§

Fields
A derive macro implements the Fields trait for a struct.