Struct predicates::str::NormalizedPredicate[][src]

pub struct NormalizedPredicate<P> where
    P: Predicate<str>, 
{ /* fields omitted */ }

Predicate adapter that normalizes the newlines contained in the variable being tested.

This is created by pred.normalize().

Trait Implementations

impl<P: Debug> Debug for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

Formats the value using the given formatter. Read more

impl<P: Clone> Clone for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Copy> Copy for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

impl<P: PartialEq> PartialEq for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<P: Eq> Eq for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

impl<P> PredicateReflection for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

Important traits for Box<R>

Nested Predicates of the current Predicate.

Important traits for Box<R>

Parameters of the current Predicate.

impl<P> Predicate<str> for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

Execute this Predicate against variable, returning the resulting boolean. Read more

Find a case that proves this predicate as expected when run against variable.

impl<P> Display for NormalizedPredicate<P> where
    P: Predicate<str>, 
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<P> Send for NormalizedPredicate<P> where
    P: Send

impl<P> Sync for NormalizedPredicate<P> where
    P: Sync