Struct predicates::str::TrimPredicate
source ·
[−]Expand description
Predicate adaper that trims the variable being tested.
This is created by pred.trim()
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<P> RefUnwindSafe for TrimPredicate<P> where
P: RefUnwindSafe,
impl<P> Send for TrimPredicate<P> where
P: Send,
impl<P> Sync for TrimPredicate<P> where
P: Sync,
impl<P> Unpin for TrimPredicate<P> where
P: Unpin,
impl<P> UnwindSafe for TrimPredicate<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
Compute the logical AND of two Predicate
results, returning the result. Read more
Compute the logical OR of two Predicate
results, returning the result. Read more
Compute the logical NOT of a Predicate
, returning the result. Read more