Struct rustdoc::test::Collector [] [src]

pub struct Collector {
    pub tests: Vec<TestDescAndFn>,
    // some fields omitted
}
Unstable (rustdoc)

Fields

tests: Vec<TestDescAndFn>
Unstable (rustdoc)

Methods

impl Collector
[src]

fn new(cratename: String, cfgs: Vec<String>, libs: SearchPaths, externs: Externs, use_headers: bool, opts: TestOptions) -> Collector

fn add_test(&mut self, test: String, should_panic: bool, no_run: bool, should_ignore: bool, as_test_harness: bool, compile_fail: bool)

fn register_header(&mut self, name: &str, level: u32)

Trait Implementations

impl DocFolder for Collector
[src]

fn fold_item(&mut self, item: Item) -> Option<Item>

fn fold_inner_recur(&mut self, inner: ItemEnum) -> ItemEnum

don't override!

fn fold_item_recur(&mut self, item: Item) -> Option<Item>

don't override!

fn fold_mod(&mut self, m: Module) -> Module

fn fold_crate(&mut self, c: Crate) -> Crate