Struct predicates::ord::EqPredicate[][src]

pub struct EqPredicate<T> where
    T: Debug + PartialEq
{ /* fields omitted */ }

Predicate that returns true if variable matches the pre-defined Eq value, otherwise returns false.

This is created by the predicate::{eq, ne} functions.

Trait Implementations

impl<T: Debug> Debug for EqPredicate<T> where
    T: Debug + PartialEq
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for EqPredicate<T> where
    T: Debug + PartialEq
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for EqPredicate<T> where
    T: Debug + PartialEq
[src]

impl<T: PartialEq> PartialEq for EqPredicate<T> where
    T: Debug + PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for EqPredicate<T> where
    T: Debug + PartialEq
[src]

impl<T> Predicate<T> for EqPredicate<T> where
    T: Debug + PartialEq
[src]

Execute this Predicate against variable, returning the resulting boolean. Read more

Find a case that proves this predicate as expected when run against variable.

impl<'a, T: ?Sized> Predicate<T> for EqPredicate<&'a T> where
    T: Debug + PartialEq
[src]

Execute this Predicate against variable, returning the resulting boolean. Read more

Find a case that proves this predicate as expected when run against variable.

impl<T> PredicateReflection for EqPredicate<T> where
    T: Debug + PartialEq
[src]

Important traits for Box<R>

Parameters of the current Predicate.

Important traits for Box<R>

Nested Predicates of the current Predicate.

impl<T> Display for EqPredicate<T> where
    T: Debug + PartialEq
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for EqPredicate<T> where
    T: Send

impl<T> Sync for EqPredicate<T> where
    T: Sync