Struct predicates::predicate::AndPredicate [] [src]

pub struct AndPredicate<M1, M2> where
    M1: Predicate,
    M2: Predicate<Item = M1::Item>, 
{ /* fields omitted */ }

Predicate that combines two Predicates, returning the AND of the results.

This is created by the Predicate::and function.

Methods

impl<M1, M2> AndPredicate<M1, M2> where
    M1: Predicate,
    M2: Predicate<Item = M1::Item>, 
[src]

Create a new AndPredicate over predicates a and b.

Trait Implementations

impl<M1: Debug, M2: Debug> Debug for AndPredicate<M1, M2> where
    M1: Predicate,
    M2: Predicate<Item = M1::Item>, 
[src]

Formats the value using the given formatter.

impl<M1, M2> Predicate for AndPredicate<M1, M2> where
    M1: Predicate,
    M2: Predicate<Item = M1::Item>, 
[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