Struct predicates::predicate::EqPredicate [] [src]

pub struct EqPredicate<T> { /* 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>
[src]

Formats the value using the given formatter.

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

The type that this Predicate will accept for evaluating.

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

Compute the logical AND of two Predicate results, returning the result. Read more

Compute the logical OR of two Predicate results, returning the result. Read more

Compute the logical NOT of a Predicate, returning the result. Read more

Returns a BoxPredicate wrapper around this Predicate type. Read more