mod struct_directive
- module struct_directive
Implementation of the
rust:structdirectiveMacros
- macro make_sig
Structs and Unions
- StructDirective
- name: String
- options: Vec < DirectiveOption >
- content: Vec < String >
- fields: Vec < VariableDirective >
Impls
- impl StructDirective
- const DIRECTIVE_NAME: & 'static str
- 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
- fn from_union (parent_path : & str , item : & ItemUnion , inherited_visibility : & Option < & Visibility > ,) -> Directive