Struct expectest::matchers::PartialOrder [] [src]

pub struct PartialOrder<E> {
    // some 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]

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.