Struct predicates::boolean::AndPredicate [] [src]

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

[src]

Create a new AndPredicate over predicates a and b.

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

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

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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