[][src]Struct mimicaw::Test

pub struct Test<D> { /* fields omitted */ }

Data that describes a single test.

Methods

impl<D> Test<D>[src]

pub fn test(name: impl Into<Cow<'static, str>>, data: D) -> Self[src]

Create a single test.

pub fn bench(name: impl Into<Cow<'static, str>>, data: D) -> Self[src]

Create a single benchmark test.

pub fn ignore(self, value: bool) -> Self[src]

Mark that this test should be ignored.

Auto Trait Implementations

impl<D> RefUnwindSafe for Test<D> where
    D: RefUnwindSafe

impl<D> Send for Test<D> where
    D: Send

impl<D> Sync for Test<D> where
    D: Sync

impl<D> Unpin for Test<D> where
    D: Unpin

impl<D> UnwindSafe for Test<D> where
    D: UnwindSafe

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, 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.