mod variable_directive
- module variable_directive
Implementation of the
rust:variable::directiveMacros
- macro var_from_item
Structs
Impls
- impl VariableDirective
- fn from_fields (parent_path : & str , fields : & Fields , inherited_visibility : & Option < & Visibility > ,) -> Vec < VariableDirective >
- fn from_static (parent_path : & str , item : & ItemStatic , inherited_visibility : & Option < & Visibility > ,) -> Directive
- fn from_const (parent_path : & str , item : & ItemConst , inherited_visibility : & Option < & Visibility > ,) -> Directive
- fn from_impl_const (parent_path : & str , item : & ImplItemConst , inherited_visibility : & Option < & Visibility > ,) -> Directive
- fn from_trait_const (parent_path : & str , item : & TraitItemConst , inherited_visibility : & Option < & Visibility > ,) -> Directive