Struct rustdoc::test::TestOptions [−][src]
pub struct TestOptions {
pub no_crate_inject: bool,
pub display_warnings: bool,
pub attrs: Vec<String>,
}Fields
no_crate_inject: bool
Whether to disable the default extern crate my_crate; when creating doctests.
display_warnings: bool
Whether to emit compilation warnings when compiling doctests. Setting this will suppress
the default #![allow(unused)].
attrs: Vec<String>
Additional crate-level attributes to add to doctests.
Trait Implementations
impl Clone for TestOptions[src]
impl Clone for TestOptionsfn clone(&self) -> TestOptions[src]
fn clone(&self) -> TestOptionsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for TestOptions[src]
impl Default for TestOptionsfn default() -> TestOptions[src]
fn default() -> TestOptionsReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for TestOptions
impl Send for TestOptionsimpl Sync for TestOptions
impl Sync for TestOptions