Struct rustdoc::test::CollectorExperimental
[-]
[+]
[src]
pub struct Collector {
pub tests: Vec<TestDescAndFn>,
// some fields omitted
}Fields
tests |
pub struct Collector {
pub tests: Vec<TestDescAndFn>,
// some fields omitted
}tests |
impl Collectorfn new(cratename: String, libs: SearchPaths, externs: Externs, use_headers: bool) -> Collectorfn add_test(&mut self, test: String, should_fail: bool, no_run: bool, should_ignore: bool, as_test_harness: bool)fn register_header(&mut self, name: &str, level: u32)impl DocFolder for Collector
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).