Struct predicates::str::Utf8Predicate[][src]

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

Predicate adaper that converts a str predicate to byte predicate.

This is created by pred.from_utf8().

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

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

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

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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