Struct Options
struct Options { ... }
Options for the test run defined by the caller (instead of CLI arguments). In case we want to add other options as well, just add them in this struct.
Fields
display_output: boolpanic_abort: bool
Implementations
impl Options
fn new() -> Optionsfn display_output(self: Self, display_output: bool) -> Optionsfn panic_abort(self: Self, panic_abort: bool) -> Options
impl Clone for Options
fn clone(self: &Self) -> Options
impl Copy for Options
impl Debug for Options
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
impl<T> Any for Options
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Options
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Options
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Options
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Options
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Options
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Options
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Options
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Options
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>