Trait rustdoc::doctest::Tester

source ·
pub(crate) trait Tester {
    // Required method
    fn add_test(&mut self, test: String, config: LangString, line: usize);

    // Provided methods
    fn get_line(&self) -> usize { ... }
    fn register_header(&mut self, _name: &str, _level: u32) { ... }
}

Required Methods§

source

fn add_test(&mut self, test: String, config: LangString, line: usize)

Provided Methods§

source

fn get_line(&self) -> usize

source

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

Implementors§