Struct expectest::matchers::PartialOrder
[−]
[src]
pub struct PartialOrder<E> { /* fields omitted */ }
A matcher for types that conforms to PartialOrd
trait.
Trait Implementations
impl<A, E> Matcher<A, E> for PartialOrder<E> where
A: PartialOrd<E> + Debug,
E: Debug,
[src]
A: PartialOrd<E> + Debug,
E: Debug,
fn failure_message(&self, join: Join, actual: &A) -> String
Returns a failure message.
fn matches(&self, actual: &A) -> bool
Checks if an actual value matches an expected value.