Struct expectest::matchers::BeSome
[−]
[src]
pub struct BeSome;
A matcher for be_some
assertions for Option<T>
types.
Methods
impl BeSome
[src]
fn value<E>(self, v: E) -> BeSomeValue<E>
Returns a new BeSomeValue
matcher.
Trait Implementations
impl<A> Matcher<Option<A>, ()> for BeSome where
A: Debug,
[src]
A: Debug,