mod impl_directive

module impl_directive

Implementation of the rust:impl directive

Functions

fn nodes_for_impl(item: &ItemImpl) -> Vec<Node>

Generate docutils nodes for the impl block’s signature.

Structs and Unions

struct ImplDirective
name: String
options: Vec<DirectiveOption>
content: Vec<String>
items: Vec<Directive>

Impls

impl ImplDirective
const DIRECTIVE_NAME: &'static str
fn from_item(parent_path: &str, item: &ItemImpl, inherited_visibility: &Option<&Visibility>) -> Directive
impl MdDirective for ImplDirective
fn get_md_text(self, fence_size: usize, max_visibility: &DirectiveVisibility) -> Vec<String>
fn fence_size(&self) -> usize
impl RstDirective for ImplDirective
fn get_rst_text(self, level: usize, max_visibility: &DirectiveVisibility) -> Vec<String>