Struct predicates::str::NormalizedPredicate [−][src]
Expand description
Predicate adapter that normalizes the newlines contained in the variable being tested.
This is created by pred.normalize()
.
Trait Implementations
impl<P: PartialEq> PartialEq<NormalizedPredicate<P>> for NormalizedPredicate<P> where
P: Predicate<str>,
impl<P: PartialEq> PartialEq<NormalizedPredicate<P>> for NormalizedPredicate<P> where
P: Predicate<str>,
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 NormalizedPredicate<P> where
P: RefUnwindSafe,
impl<P> Send for NormalizedPredicate<P> where
P: Send,
impl<P> Sync for NormalizedPredicate<P> where
P: Sync,
impl<P> Unpin for NormalizedPredicate<P> where
P: Unpin,
impl<P> UnwindSafe for NormalizedPredicate<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