[][src]Struct tester::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(mut self: Self, display_output: bool) -> Options[src]

pub fn panic_abort(mut self: 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

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.