Struct predicates::name::NamePredicate
[−]
[src]
pub struct NamePredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized, { /* fields omitted */ }
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]
M: Predicate<Item>,
Item: Debug + ?Sized,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<M, Item> Predicate<Item> for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
M: Predicate<Item>,
Item: ?Sized,
fn eval(&self, item: &Item) -> bool
[src]
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]
M: Predicate<Item>,
Item: ?Sized,
Auto Trait Implementations
impl<M, Item: ?Sized> Send for NamePredicate<M, Item> where
Item: Send,
M: Send,
Item: Send,
M: Send,
impl<M, Item: ?Sized> Sync for NamePredicate<M, Item> where
Item: Sync,
M: Sync,
Item: Sync,
M: Sync,