[][src]Struct test::TestOpts

pub struct TestOpts {
    pub list: bool,
    pub filter: Option<String>,
    pub filter_exact: bool,
    pub force_run_in_process: bool,
    pub exclude_should_panic: bool,
    pub run_ignored: RunIgnored,
    pub run_tests: bool,
    pub bench_benchmarks: bool,
    pub logfile: Option<PathBuf>,
    pub nocapture: bool,
    pub color: ColorConfig,
    pub format: OutputFormat,
    pub test_threads: Option<usize>,
    pub skip: Vec<String>,
    pub time_options: Option<TestTimeOptions>,
    pub options: Options,
}

Fields

list: boolfilter: Option<String>filter_exact: boolforce_run_in_process: boolexclude_should_panic: boolrun_ignored: RunIgnoredrun_tests: boolbench_benchmarks: boollogfile: Option<PathBuf>nocapture: boolcolor: ColorConfigformat: OutputFormattest_threads: Option<usize>skip: Vec<String>time_options: Option<TestTimeOptions>options: Options

Implementations

impl TestOpts[src]

pub fn use_color(&self) -> bool[src]

Trait Implementations

impl Debug for TestOpts[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.