mod type_directive
- module type_directive
Macros
- macro type_from_item
Structs and Unions
- struct TypeDirective
- name: String
- ident: String
- options: Vec<DirectiveOption>
- content: Vec<String>
Variables
- const DIRECTIVE_NAME: &'static str
Functions
- fn change_parent(&mut self, new_parent: &str)
Change the parent module of the type.
- fn directive_visibility(&self) -> &DirectiveVisibility
Return the visibility of this directive.
- fn from_impl_item(parent_path: &str, item: &ImplItemType, inherited_visibility: &Option<&Visibility>) -> Directive
- fn from_trait_item(parent_path: &str, item: &TraitItemType, inherited_visibility: &Option<&Visibility>) -> Directive
Traits implemented
- impl RstDirective for TypeDirective
- fn get_rst_text(self, level: usize, max_visibility: &DirectiveVisibility) -> Vec<String>
- impl MdDirective for TypeDirective
- fn get_md_text(self, fence_size: usize, max_visibility: &DirectiveVisibility) -> Vec<String>