[][src]Trait qutonium::core::matcher::Matcher

pub trait Matcher<V> where
    V: Clone + Debug + PartialEq
{ fn new(value: V) -> Self;
fn fail(&self, expected: &Matcherable<V>, mark: Mark) -> String;
fn matches(&self, expected: &Matcherable<V>) -> bool; }

Required methods

fn new(value: V) -> Self

fn fail(&self, expected: &Matcherable<V>, mark: Mark) -> String

fn matches(&self, expected: &Matcherable<V>) -> bool

Loading content...

Implementors

impl<V> Matcher<V> for Matcherable<V> where
    V: Clone + Debug + PartialEq
[src]

Loading content...