Struct predicates::name::NamePredicate
source · Expand description
Augment an existing predicate with a name.
This is created by the PredicateNameExt::name
function.
Trait Implementations
sourceimpl<M: Clone, Item: Clone> Clone for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M: Clone, Item: Clone> Clone for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
sourcefn clone(&self) -> NamePredicate<M, Item>
fn clone(&self) -> NamePredicate<M, Item>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<M: Debug, Item: Debug> Debug for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M: Debug, Item: Debug> Debug for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
sourceimpl<M, Item> Display for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> Display for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
sourceimpl<M: PartialEq, Item: PartialEq> PartialEq<NamePredicate<M, Item>> for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M: PartialEq, Item: PartialEq> PartialEq<NamePredicate<M, Item>> for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
sourcefn eq(&self, other: &NamePredicate<M, Item>) -> bool
fn eq(&self, other: &NamePredicate<M, Item>) -> bool
sourceimpl<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,
sourceimpl<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: Copy, Item: Copy> Copy for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
impl<M: Eq, Item: Eq> Eq for NamePredicate<M, Item>where
M: Predicate<Item>,
Item: ?Sized,
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
impl<P, Item> PredicateBooleanExt<Item> for Pwhere
P: Predicate<Item>,
Item: ?Sized,
sourcefn 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 moresourcefn or<B>(self, other: B) -> OrPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>where
B: Predicate<Item>,
Self: Sized,
Compute the logical OR of two
Predicate
results, returning the result. Read moresourcefn not(self) -> NotPredicate<Self, Item>where
Self: Sized,
fn not(self) -> NotPredicate<Self, Item>where
Self: Sized,
Compute the logical NOT of a
Predicate
, returning the result. Read more