Struct TestOptions

Source
pub struct TestOptions<'a> {
Show 17 fields pub output: &'a mut String, pub path: PathBuf, pub debug: bool, pub debug_graph: bool, pub include: Option<Regex>, pub exclude: Option<Regex>, pub file_name: Option<String>, pub update: bool, pub open_log: bool, pub languages: BTreeMap<&'a str, &'a Language>, pub color: bool, pub test_num: usize, pub parse_rates: &'a mut Vec<(bool, Option<(f64, f64)>)>, pub stat_display: TestStats, pub stats: &'a mut Stats, pub show_fields: bool, pub overview_only: bool,
}

Fields§

§output: &'a mut String§path: PathBuf§debug: bool§debug_graph: bool§include: Option<Regex>§exclude: Option<Regex>§file_name: Option<String>§update: bool§open_log: bool§languages: BTreeMap<&'a str, &'a Language>§color: bool§test_num: usize§parse_rates: &'a mut Vec<(bool, Option<(f64, f64)>)>

Whether a test ran for the nth line in output, the true parse rate, and the adjusted parse rate

§stat_display: TestStats§stats: &'a mut Stats§show_fields: bool§overview_only: bool

Auto Trait Implementations§

§

impl<'a> Freeze for TestOptions<'a>

§

impl<'a> RefUnwindSafe for TestOptions<'a>

§

impl<'a> Send for TestOptions<'a>

§

impl<'a> Sync for TestOptions<'a>

§

impl<'a> Unpin for TestOptions<'a>

§

impl<'a> !UnwindSafe for TestOptions<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T