Expand description
Implementation of a From derive macro.
Structsยง
- Consider
Legacy ๐Syntax attr::Parserconsidering legacy syntax forattr::Typesand emittinglegacy_error, if any occurs.- Expansion ๐
- Expansion of a macro for generating
Fromimplementation of a struct or enum.
Functionsยง
- expand
- Expands a
Fromderive macro. - legacy_
error ๐ - Constructs a
syn::Errorfor legacy syntax:#[from(types(i32, "&str"))].
Type Aliasesยง
- Struct
Attribute ๐ - Representation of a
Fromderive macro struct container attribute. - Variant
Attribute ๐ - Representation of a
Fromderive macro enum variant attribute.