mod trait_directive

module trait_directive

Implementation of the rust:trait:: directive

Structs

TraitDirective
name: String
options: Vec < DirectiveOption >
content: Vec < String >
items: Vec < Directive >

Impls

impl TraitDirective
fn from_item (parent_path : & str , item : & ItemTrait , inherited_visibility : & Option < & Visibility > ,) -> Directive
fn from_alias (parent_path : & str , alias : & ItemTraitAlias , inherited_visibility : & Option < & Visibility > ,) -> Directive
impl MdDirective for TraitDirective
fn get_md_text (self , fence_size : usize , max_visibility : & DirectiveVisibility) -> Vec < String >
fn fence_size (& self) -> usize
impl RstDirective for TraitDirective
fn get_rst_text (self , level : usize , max_visibility : & DirectiveVisibility) -> Vec < String >