Struct predicates::BoxPredicate
source · pub struct BoxPredicate<Item: ?Sized>(_);
Expand description
Predicate
that wraps another Predicate
as a trait object, allowing
sized storage of predicate types.
Implementations§
source§impl<Item> BoxPredicate<Item>where
Item: ?Sized,
impl<Item> BoxPredicate<Item>where
Item: ?Sized,
Trait Implementations§
source§impl<Item> Debug for BoxPredicate<Item>where
Item: ?Sized,
impl<Item> Debug for BoxPredicate<Item>where
Item: ?Sized,
source§impl<Item> Display for BoxPredicate<Item>where
Item: ?Sized,
impl<Item> Display for BoxPredicate<Item>where
Item: ?Sized,
source§impl<Item> Predicate<Item> for BoxPredicate<Item>where
Item: ?Sized,
impl<Item> Predicate<Item> for BoxPredicate<Item>where
Item: ?Sized,
source§impl<Item> PredicateReflection for BoxPredicate<Item>where
Item: ?Sized,
impl<Item> PredicateReflection for BoxPredicate<Item>where
Item: ?Sized,
Auto Trait Implementations§
impl<Item> !RefUnwindSafe for BoxPredicate<Item>
impl<Item: ?Sized> Send for BoxPredicate<Item>
impl<Item: ?Sized> Sync for BoxPredicate<Item>
impl<Item: ?Sized> Unpin for BoxPredicate<Item>
impl<Item> !UnwindSafe for BoxPredicate<Item>
Blanket Implementations§
source§impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
source§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
Compute the logical AND of two
Predicate
results, returning the result. Read more