Trait predicates::reflection::PredicateReflection [−][src]
pub trait PredicateReflection: Display { fn parameters(
&'a self
) -> Box<dyn Iterator<Item = Parameter<'a>> + 'a, Global> { ... } fn children(&'a self) -> Box<dyn Iterator<Item = Child<'a>> + 'a, Global> { ... } }
Expand description
Introspect the state of a Predicate
.
Provided methods
Parameters of the current Predicate
.
Implementors
impl<M1, M2, Item> PredicateReflection for AndPredicate<M1, M2, Item> where
M1: Predicate<Item>,
M2: Predicate<Item>,
Item: ?Sized,
impl<M1, M2, Item> PredicateReflection for OrPredicate<M1, M2, Item> where
M1: Predicate<Item>,
M2: Predicate<Item>,
Item: ?Sized,
impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> PredicateReflection for NamePredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,