Struct predicates::BoxPredicate[][src]

pub struct BoxPredicate<Item: ?Sized>(_);

Predicate that wraps another Predicate as a trait object, allowing sized storage of predicate types.

Methods

impl<Item> BoxPredicate<Item> where
    Item: ?Sized
[src]

Creates a new BoxPredicate, a wrapper around a dynamically-dispatched Predicate type with useful trait impls.

Trait Implementations

impl<Item> Debug for BoxPredicate<Item> where
    Item: ?Sized
[src]

Formats the value using the given formatter. Read more

impl<Item> PredicateReflection for BoxPredicate<Item> where
    Item: ?Sized
[src]

Important traits for Box<R>

Parameters of the current Predicate.

Important traits for Box<R>

Nested Predicates of the current Predicate.

impl<Item> Display for BoxPredicate<Item> where
    Item: ?Sized
[src]

Formats the value using the given formatter. Read more

impl<Item> Predicate<Item> for BoxPredicate<Item> where
    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.

Auto Trait Implementations

impl<Item: ?Sized> Send for BoxPredicate<Item>

impl<Item: ?Sized> Sync for BoxPredicate<Item>