[−][src]Trait hamcrest2::core::Matcher
Required methods
fn matches(&self, actual: T) -> MatchResult
Implementations on Foreign Types
impl Matcher<bool> for bool
[src]
fn matches(&self, actual: bool) -> MatchResult
[src]
Implementors
impl<'a> Matcher<&'a Path> for PathExists
[src]
fn matches(&self, actual: &Path) -> MatchResult
[src]
impl<'a> Matcher<&'a PathBuf> for PathExists
[src]
fn matches(&self, actual: &'a PathBuf) -> MatchResult
[src]
impl<'a, T> Matcher<&'a [T]> for OfLen
[src]
fn matches(&self, actual: &[T]) -> MatchResult
[src]
impl<'a, T: Debug + PartialEq + Clone> Matcher<&'a [T]> for Contains<T>
[src]
fn matches(&self, actual: &[T]) -> MatchResult
[src]
impl<'a, T: Debug> Matcher<&'a [T]> for Empty
[src]
fn matches(&self, actual: &[T]) -> MatchResult
[src]
impl<B: Borrow<str>> Matcher<B> for MatchesRegex
[src]
fn matches(&self, actual: B) -> MatchResult
[src]
impl<T> Matcher<Option<T>> for Has<T> where
T: Debug + PartialEq,
[src]
T: Debug + PartialEq,
fn matches(&self, actual: Option<T>) -> MatchResult
[src]
impl<T> Matcher<T> for Anything
[src]
fn matches(&self, _: T) -> MatchResult
[src]
impl<T, E> Matcher<Result<T, E>> for Has<T> where
T: Debug + PartialEq,
E: Debug,
[src]
T: Debug + PartialEq,
E: Debug,
fn matches(&self, actual: Result<T, E>) -> MatchResult
[src]
impl<T, E, B: Borrow<Result<T, E>>> Matcher<B> for IsErr<T, E> where
T: Debug,
E: Debug,
[src]
T: Debug,
E: Debug,
fn matches(&self, actual: B) -> MatchResult
[src]
impl<T, E, B: Borrow<Result<T, E>>> Matcher<B> for IsOk<T, E> where
T: Debug,
E: Debug,
[src]
T: Debug,
E: Debug,
fn matches(&self, actual: B) -> MatchResult
[src]
impl<T, M0, M1> Matcher<T> for All<T, (M0, M1)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1> Matcher<T> for Any<T, (M0, M1)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2> Matcher<T> for All<T, (M0, M1, M2)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2> Matcher<T> for Any<T, (M0, M1, M2)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2, M3> Matcher<T> for All<T, (M0, M1, M2, M3)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2, M3> Matcher<T> for Any<T, (M0, M1, M2, M3)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2, M3, M4> Matcher<T> for All<T, (M0, M1, M2, M3, M4)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2, M3, M4> Matcher<T> for Any<T, (M0, M1, M2, M3, M4)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2, M3, M4, M5> Matcher<T> for All<T, (M0, M1, M2, M3, M4, M5)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
M5: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
M5: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M0, M1, M2, M3, M4, M5> Matcher<T> for Any<T, (M0, M1, M2, M3, M4, M5)> where
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
M5: Matcher<T>,
[src]
T: Clone,
M0: Matcher<T>,
M1: Matcher<T>,
M2: Matcher<T>,
M3: Matcher<T>,
M4: Matcher<T>,
M5: Matcher<T>,
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M: Matcher<T>> Matcher<T> for Is<T, M>
[src]
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, M: Matcher<T>> Matcher<T> for IsNot<T, M>
[src]
fn matches(&self, actual: T) -> MatchResult
[src]
impl<T, U> Matcher<T> for EqualTo<U> where
U: PartialEq<T> + Debug,
T: Debug,
[src]
U: PartialEq<T> + Debug,
T: Debug,