[][src]Struct test::Options

pub struct Options {
    pub display_output: bool,
    pub panic_abort: bool,
}

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[src]

pub fn new() -> Options[src]

pub fn display_output(self, display_output: bool) -> Options[src]

pub fn panic_abort(self, panic_abort: bool) -> Options[src]

Trait Implementations

impl Clone for Options[src]

impl Copy for Options[src]

impl Debug for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.