Struct must::lazy::LazyAssertion [] [src]

pub struct LazyAssertion<M: LazyMatcher> { /* fields omitted */ }

Methods

impl<M: LazyMatcher> LazyAssertion<M>
[src]

Not intended for direct use.

Use must_be_ok_and / must_be_err_and / must_be_some_and instead.

take or panic

Not intended for direct use in testing, but exported to help extending must.

Panics if called twice.

Trait Implementations

impl<Ret> From<Ret> for LazyAssertion<SimpleMatcher<Ret>>
[src]

Performs the conversion.

impl<Ret> FromError for LazyAssertion<SimpleMatcher<Ret>>
[src]

impl<M: LazyMatcher> Mutator<M> for LazyAssertion<M>
[src]

impl<M: LazyMatcher> Drop for LazyAssertion<M>
[src]

A method called when the value goes out of scope. Read more

impl<M: LazyMatcher> From<M> for LazyAssertion<M>
[src]

Creates a new lazy assertion with a given lazy matcher.