Struct predicates::str::TrimPredicate [−][src]
Predicate adaper that trims the variable being tested.
This is created by pred.trim()
.
Trait Implementations
impl<P: Debug> Debug for TrimPredicate<P> where
P: Predicate<str>,
[src]
impl<P: Debug> Debug for TrimPredicate<P> where
P: Predicate<str>,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<P: Clone> Clone for TrimPredicate<P> where
P: Predicate<str>,
[src]
impl<P: Clone> Clone for TrimPredicate<P> where
P: Predicate<str>,
fn clone(&self) -> TrimPredicate<P>
[src]
fn clone(&self) -> TrimPredicate<P>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<P: Copy> Copy for TrimPredicate<P> where
P: Predicate<str>,
[src]
impl<P: Copy> Copy for TrimPredicate<P> where
P: Predicate<str>,
impl<P: PartialEq> PartialEq for TrimPredicate<P> where
P: Predicate<str>,
[src]
impl<P: PartialEq> PartialEq for TrimPredicate<P> where
P: Predicate<str>,
fn eq(&self, other: &TrimPredicate<P>) -> bool
[src]
fn eq(&self, other: &TrimPredicate<P>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TrimPredicate<P>) -> bool
[src]
fn ne(&self, other: &TrimPredicate<P>) -> bool
This method tests for !=
.
impl<P: Eq> Eq for TrimPredicate<P> where
P: Predicate<str>,
[src]
impl<P: Eq> Eq for TrimPredicate<P> where
P: Predicate<str>,
impl<P> Predicate<str> for TrimPredicate<P> where
P: Predicate<str>,
[src]
impl<P> Predicate<str> for TrimPredicate<P> where
P: Predicate<str>,
fn eval(&self, variable: &str) -> bool
[src]
fn eval(&self, variable: &str) -> bool
Execute this Predicate
against variable
, returning the resulting boolean. Read more
impl<P> Display for TrimPredicate<P> where
P: Predicate<str>,
[src]
impl<P> Display for TrimPredicate<P> where
P: Predicate<str>,
Auto Trait Implementations
impl<P> Send for TrimPredicate<P> where
P: Send,
impl<P> Send for TrimPredicate<P> where
P: Send,
impl<P> Sync for TrimPredicate<P> where
P: Sync,
impl<P> Sync for TrimPredicate<P> where
P: Sync,