Struct predicates::str::TrimPredicate
[−]
[src]
pub struct TrimPredicate<P> where
P: Predicate<str>, { /* fields omitted */ }
Predicate adaper that trims the variable being tested.
This is created by pred.trim()
.
Trait Implementations
impl<P: Copy> Copy for TrimPredicate<P> where
P: Predicate<str>,
[src]
P: Predicate<str>,
impl<P: Clone> Clone for TrimPredicate<P> where
P: Predicate<str>,
[src]
P: Predicate<str>,
fn clone(&self) -> TrimPredicate<P>
[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<P: Debug> Debug for TrimPredicate<P> where
P: Predicate<str>,
[src]
P: Predicate<str>,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<P> Predicate<str> for TrimPredicate<P> where
P: Predicate<str>,
[src]
P: Predicate<str>,
fn eval(&self, variable: &str) -> bool
[src]
Execute this Predicate
against variable
, returning the resulting boolean. Read more
impl<P> Display for TrimPredicate<P> where
P: Predicate<str>,
[src]
P: Predicate<str>,
Auto Trait Implementations
impl<P> Send for TrimPredicate<P> where
P: Send,
P: Send,
impl<P> Sync for TrimPredicate<P> where
P: Sync,
P: Sync,