rustdoc::doctest

Trait DocTestVisitor

source
pub(crate) trait DocTestVisitor {
    // Required method
    fn visit_test(
        &mut self,
        test: String,
        config: LangString,
        rel_line: MdRelLine,
    );

    // Provided method
    fn visit_header(&mut self, _name: &str, _level: u32) { ... }
}

Required Methods§

source

fn visit_test(&mut self, test: String, config: LangString, rel_line: MdRelLine)

Provided Methods§

source

fn visit_header(&mut self, _name: &str, _level: u32)

Implementors§