Struct rustdoc::test::TestOptions[][src]

pub struct TestOptions {
    pub no_crate_inject: bool,
    pub display_warnings: bool,
    pub attrs: Vec<String>,
}

Fields

Whether to disable the default extern crate my_crate; when creating doctests.

Whether to emit compilation warnings when compiling doctests. Setting this will suppress the default #![allow(unused)].

Additional crate-level attributes to add to doctests.

Trait Implementations

impl Clone for TestOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for TestOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for TestOptions

impl Sync for TestOptions