mod type_directive

module type_directive

Implementation of the rust:type directive

Macros

macro type_from_item

Structs and Unions

struct TypeDirective
name: String
options: Vec<DirectiveOption>
content: Vec<String>

Impls

impl TypeDirective
const DIRECTIVE_NAME: &'static str
fn from_item(parent_path: &str, item: &ItemType, inherited_visibility: &Option<&Visibility>) -> 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
fn from_extern(parent_path: &str, item: &ForeignItemType, inherited_visibility: &Option<&Visibility>) -> Directive
impl MdDirective for TypeDirective
fn get_md_text(self, fence_size: usize, max_visibility: &DirectiveVisibility) -> Vec<String>
impl RstDirective for TypeDirective
fn get_rst_text(self, level: usize, max_visibility: &DirectiveVisibility) -> Vec<String>