Trait predicates::reflection::PredicateReflection[][src]

pub trait PredicateReflection: Display {
    pub fn parameters(
        &'a self
    ) -> Box<dyn Iterator<Item = Parameter<'a>> + 'a, Global> { ... }
pub fn children(
        &'a self
    ) -> Box<dyn Iterator<Item = Child<'a>> + 'a, Global> { ... } }

Introspect the state of a Predicate.

Provided methods

pub fn parameters(
    &'a self
) -> Box<dyn Iterator<Item = Parameter<'a>> + 'a, Global>
[src]

Parameters of the current Predicate.

pub fn children(&'a self) -> Box<dyn Iterator<Item = Child<'a>> + 'a, Global>[src]

Nested Predicates of the current Predicate.

Loading content...

Implementors

impl PredicateReflection for BooleanPredicate[src]

impl PredicateReflection for IsClosePredicate[src]

impl PredicateReflection for BinaryFilePredicate[src]

impl PredicateReflection for ExistencePredicate[src]

impl PredicateReflection for FileTypePredicate[src]

impl PredicateReflection for StrFilePredicate[src]

impl PredicateReflection for ContainsPredicate[src]

impl PredicateReflection for DifferencePredicate[src]

impl PredicateReflection for EndsWithPredicate[src]

impl PredicateReflection for IsEmptyPredicate[src]

impl PredicateReflection for MatchesPredicate[src]

impl PredicateReflection for RegexPredicate[src]

impl PredicateReflection for StartsWithPredicate[src]

impl<F, T> PredicateReflection for FnPredicate<F, T> where
    F: Fn(&T) -> bool,
    T: ?Sized
[src]

impl<Item> PredicateReflection for BoxPredicate<Item> where
    Item: ?Sized
[src]

impl<M1, M2, Item> PredicateReflection for AndPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: ?Sized
[src]

impl<M1, M2, Item> PredicateReflection for OrPredicate<M1, M2, Item> where
    M1: Predicate<Item>,
    M2: Predicate<Item>,
    Item: ?Sized
[src]

impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

impl<M, Item> PredicateReflection for NamePredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

impl<P> PredicateReflection for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

impl<P> PredicateReflection for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

impl<P> PredicateReflection for TrimPredicate<P> where
    P: Predicate<str>, 
[src]

impl<P> PredicateReflection for Utf8Predicate<P> where
    P: Predicate<str>, 
[src]

impl<T> PredicateReflection for HashableInPredicate<T> where
    T: Hash + Eq + Debug
[src]

impl<T> PredicateReflection for InPredicate<T> where
    T: PartialEq + Debug
[src]

impl<T> PredicateReflection for OrdInPredicate<T> where
    T: Ord + Debug
[src]

impl<T> PredicateReflection for EqPredicate<T> where
    T: Debug + PartialEq
[src]

impl<T> PredicateReflection for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

Loading content...