mod use_directive

module use_directive

Structs and Unions

struct UseDirective
paths: Vec<UsePath>
struct UsePath
path: Vec<String>
target: Option<String>

Impls

impl UseDirective
fn from_item(parent_path: &str, item: &ItemUse) -> Directive
impl MdDirective for UseDirective
fn get_md_text(self, fence_size: usize, _: &DirectiveVisibility) -> Vec<String>
impl RstDirective for UseDirective
fn get_rst_text(self, level: usize, _: &DirectiveVisibility) -> Vec<String>
impl MdOption for UsePath
fn get_md_text(&self) -> Option<String>
impl RstOption for UsePath
fn get_rst_text(&self, indent: &str) -> Option<String>