Struct galvanic_assert::matchers::collection::ContainsSubset
[−]
[src]
pub struct ContainsSubset<T> { /* fields omitted */ }
Matches if the asserted collection contains all (possibly more) of the expected elements.
Trait Implementations
impl<'a, T, I: 'a> Matcher<'a, I> for ContainsSubset<T> where
T: PartialEq + Debug + 'a,
&'a I: IntoIterator<Item = &'a T> + Debug + 'a,
[src]
T: PartialEq + Debug + 'a,
&'a I: IntoIterator<Item = &'a T> + Debug + 'a,
fn check(&self, actual: &'a I) -> MatchResult
Checks the passed value if it satisfies the Matcher
. Read more