mod foreign_mod

module foreign_mod

Implementation of the pseudo-directive for foreign modules.

The directive is not really published to the documentation, but used only for organizing the content of the items within it.

Structs and Unions

ForeignModDirective
items: Vec < Directive >

Impls

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