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

pub struct OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: ?Sized
{ /* 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, Item> OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: ?Sized
[src]

Create a new OrPredicate over predicates a and b.

Trait Implementations

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

Formats the value using the given formatter. Read more

impl<M1: Clone, M2: Clone, Item> Clone for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: Clone + ?Sized
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<M1: Copy, M2: Copy, Item> Copy for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: Copy + ?Sized
[src]

impl<M1: PartialEq, M2: PartialEq, Item> PartialEq for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: PartialEq + ?Sized
[src]

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

This method tests for !=.

impl<M1: Eq, M2: Eq, Item> Eq for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: Eq + ?Sized
[src]

impl<M1, M2, Item> Predicate<Item> for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: ?Sized
[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<M1, M2, Item> PredicateReflection for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: ?Sized
[src]

Important traits for Box<R>

Nested Predicates of the current Predicate.

Important traits for Box<R>

Parameters of the current Predicate.

impl<M1, M2, Item> Display for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: ?Sized
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<M1, M2, Item: ?Sized> Send for OrPredicate<M1, M2, Item> where
    Item: Send,
    M1: Send,
    M2: Send

impl<M1, M2, Item: ?Sized> Sync for OrPredicate<M1, M2, Item> where
    Item: Sync,
    M1: Sync,
    M2: Sync