Struct predicates::name::NamePredicate [−][src]
Augment an existing predicate with a name.
This is created by the PredicateNameExt::name
function.
Trait Implementations
impl<M: Debug, Item> Debug for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Debug + ?Sized,
[src]
impl<M: Debug, Item> Debug for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Debug + ?Sized,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<M: Clone, Item> Clone for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Clone + ?Sized,
[src]
impl<M: Clone, Item> Clone for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Clone + ?Sized,
fn clone(&self) -> NamePredicate<M, Item>
[src]
fn clone(&self) -> NamePredicate<M, Item>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<M: Copy, Item> Copy for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Copy + ?Sized,
[src]
impl<M: Copy, Item> Copy for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Copy + ?Sized,
impl<M: PartialEq, Item> PartialEq for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: PartialEq + ?Sized,
[src]
impl<M: PartialEq, Item> PartialEq for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: PartialEq + ?Sized,
fn eq(&self, other: &NamePredicate<M, Item>) -> bool
[src]
fn eq(&self, other: &NamePredicate<M, Item>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NamePredicate<M, Item>) -> bool
[src]
fn ne(&self, other: &NamePredicate<M, Item>) -> bool
This method tests for !=
.
impl<M: Eq, Item> Eq for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Eq + ?Sized,
[src]
impl<M: Eq, Item> Eq for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: Eq + ?Sized,
impl<M, Item> Predicate<Item> for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> Predicate<Item> for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
fn eval(&self, item: &Item) -> bool
[src]
fn eval(&self, item: &Item) -> bool
Execute this Predicate
against variable
, returning the resulting boolean. Read more
impl<M, Item> Display for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> Display for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
Auto Trait Implementations
impl<M, Item: ?Sized> Send for NamePredicate<M, Item> where
Item: Send,
M: Send,
impl<M, Item: ?Sized> Send for NamePredicate<M, Item> where
Item: Send,
M: Send,
impl<M, Item: ?Sized> Sync for NamePredicate<M, Item> where
Item: Sync,
M: Sync,
impl<M, Item: ?Sized> Sync for NamePredicate<M, Item> where
Item: Sync,
M: Sync,