Trait predicates::reflection::PredicateReflection
source · pub trait PredicateReflection: Display {
// Provided methods
fn parameters<'a>(&'a self) -> Box<dyn Iterator<Item = Parameter<'a>> + 'a> { ... }
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = Child<'a>> + 'a> { ... }
}
Expand description
Introspect the state of a Predicate
.
Provided Methods§
sourcefn parameters<'a>(&'a self) -> Box<dyn Iterator<Item = Parameter<'a>> + 'a>
fn parameters<'a>(&'a self) -> Box<dyn Iterator<Item = Parameter<'a>> + 'a>
Parameters of the current Predicate
.
Implementors§
impl PredicateReflection for BooleanPredicate
impl PredicateReflection for IsClosePredicate
Available on crate feature
float-cmp
only.impl PredicateReflection for BinaryFilePredicate
impl PredicateReflection for ExistencePredicate
impl PredicateReflection for FileTypePredicate
impl PredicateReflection for StrFilePredicate
impl PredicateReflection for ContainsPredicate
impl PredicateReflection for DifferencePredicate
Available on crate feature
diff
only.impl PredicateReflection for EndsWithPredicate
impl PredicateReflection for IsEmptyPredicate
impl PredicateReflection for MatchesPredicate
impl PredicateReflection for RegexPredicate
Available on crate feature
regex
only.impl PredicateReflection for StartsWithPredicate
impl<F, T> PredicateReflection for FnPredicate<F, T>
impl<Item> PredicateReflection for BoxPredicate<Item>where
Item: ?Sized,
impl<M1, M2, Item> PredicateReflection for AndPredicate<M1, M2, Item>
impl<M1, M2, Item> PredicateReflection for OrPredicate<M1, M2, Item>
impl<M, Item> PredicateReflection for NotPredicate<M, Item>
impl<M, Item> PredicateReflection for NamePredicate<M, Item>
impl<P> PredicateReflection for FileContentPredicate<P>
impl<P> PredicateReflection for NormalizedPredicate<P>
Available on crate feature
normalize-line-endings
only.