Struct predicates::predicate::boolean::OrPredicate [] [src]

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

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

This is created by the Predicate::or function.

Methods

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

Create a new OrPredicate over predicates a and b.

Trait Implementations

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

Formats the value using the given formatter.

impl<M1, M2> Predicate for OrPredicate<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

Convenience function that returns a trait object of this Predicate. Read more