mod struct_directive
- module struct_directive
Implementation of the
rust:struct::directiveMacros
- macro make_sig
Structs
- StructDirective
- name: String
- options: Vec < DirectiveOption >
- content: Vec < String >
- fields: Vec < VariableDirective >
Impls
- impl StructDirective
- fn from_variant (parent_path : & str , variant : & Variant , inherited_visibility : & Option < & Visibility > ,) -> StructDirective
- fn from_item (parent_path : & str , item : & ItemStruct , inherited_visibility : & Option < & Visibility > ,) -> Directive