Struct test::TestOpts

source ·
pub struct TestOpts {
Show 13 fields pub list: bool, pub filter: Option<String>, pub filter_exact: 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 options: Options,
}

Fields§

§list: bool§filter: Option<String>§filter_exact: bool§run_ignored: RunIgnored§run_tests: bool§bench_benchmarks: bool§logfile: Option<PathBuf>§nocapture: bool§color: ColorConfig§format: OutputFormat§test_threads: Option<usize>§skip: Vec<String>§options: Options

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.