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: bool
panic_abort: bool

Implementations

impl Options

fn new() -> Options
fn display_output(self: Self, display_output: bool) -> Options
fn 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) -> T

Returns the argument unchanged.

impl<T> ToOwned for Options

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Options

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses 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>