Struct predicates::str::MatchesPredicate
[−]
[src]
pub struct MatchesPredicate { /* fields omitted */ }
Predicate that checks for repeated patterns.
This is created by predicates::str::contains(...).count
.
Trait Implementations
impl Clone for MatchesPredicate
[src]
fn clone(&self) -> MatchesPredicate
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MatchesPredicate
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Predicate<str> for MatchesPredicate
[src]
fn eval(&self, variable: &str) -> bool
[src]
Execute this Predicate
against variable
, returning the resulting boolean. Read more