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 theExtructedFrom
marker trait that indicates that struct fields populated during conversion from superstruct all have same names in both structs.