Struct predicates::name::NamePredicate
source · Expand description
Augment an existing predicate with a name.
This is created by the PredicateNameExt::name
function.
Trait Implementations§
source§impl<M, Item> Clone for NamePredicate<M, Item>where
M: Predicate<Item> + Clone,
Item: ?Sized + Clone,
impl<M, Item> Clone for NamePredicate<M, Item>where
M: Predicate<Item> + Clone,
Item: ?Sized + Clone,
source§fn clone(&self) -> NamePredicate<M, Item>
fn clone(&self) -> NamePredicate<M, Item>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<M, Item> Debug for NamePredicate<M, Item>where
M: Predicate<Item> + Debug,
Item: ?Sized + Debug,
impl<M, Item> Debug for NamePredicate<M, Item>where
M: Predicate<Item> + Debug,
Item: ?Sized + Debug,
source§impl<M, Item> PartialEq<NamePredicate<M, Item>> for NamePredicate<M, Item>where
M: Predicate<Item> + PartialEq,
Item: ?Sized + PartialEq,
impl<M, Item> PartialEq<NamePredicate<M, Item>> for NamePredicate<M, Item>where
M: Predicate<Item> + PartialEq,
Item: ?Sized + PartialEq,
source§fn eq(&self, other: &NamePredicate<M, Item>) -> bool
fn eq(&self, other: &NamePredicate<M, Item>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<M, Item> Predicate<Item> for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> Predicate<Item> for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
source§impl<M, Item> PredicateReflection for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> PredicateReflection for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> Copy for NamePredicate<M, Item>where
M: Predicate<Item> + Copy,
Item: ?Sized + Copy,
impl<M, Item> Eq for NamePredicate<M, Item>where
M: Predicate<Item> + Eq,
Item: ?Sized + Eq,
impl<M, Item> Send for NamePredicate<M, Item>where
M: Predicate<Item> + Send,
Item: ?Sized,
impl<M, Item> StructuralEq for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> StructuralPartialEq for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> Sync for NamePredicate<M, Item>where
M: Predicate<Item> + Sync,
Item: ?Sized,
Auto Trait Implementations§
impl<M, Item: ?Sized> RefUnwindSafe for NamePredicate<M, Item>where
Item: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, Item: ?Sized> Unpin for NamePredicate<M, Item>where
Item: Unpin,
M: Unpin,
impl<M, Item: ?Sized> UnwindSafe for NamePredicate<M, Item>where
Item: UnwindSafe,
M: UnwindSafe,
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