mod variable_directive

module variable_directive

Implementation of the rust:variable directive

Macros

macro var_from_item

Structs and Unions

VariableDirective
name: String
options: Vec < DirectiveOption >
content: Vec < String >

Impls

impl VariableDirective
const DIRECTIVE_NAME: & 'static str
fn from_fields (parent_path : & str , fields : & Fields , inherited_visibility : & Option < & Visibility > , index_entry_type : IndexEntryType ,) -> 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
fn from_extern_static (parent_path : & str , item : & ForeignItemStatic , inherited_visibility : & Option < & Visibility > ,) -> Directive
impl MdDirective for VariableDirective
fn get_md_text (self , fence_size : usize , max_visibility : & DirectiveVisibility) -> Vec < String >
impl RstDirective for VariableDirective
fn get_rst_text (self , level : usize , max_visibility : & DirectiveVisibility) -> Vec < String >