Struct predicates::str::Utf8Predicate
source · pub struct Utf8Predicate<P>{ /* private fields */ }
Expand description
Predicate adaper that converts a str
predicate to byte predicate.
This is created by pred.from_utf8()
.
Trait Implementations§
source§impl<P> Clone for Utf8Predicate<P>
impl<P> Clone for Utf8Predicate<P>
source§fn clone(&self) -> Utf8Predicate<P>
fn clone(&self) -> Utf8Predicate<P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<P> Debug for Utf8Predicate<P>
impl<P> Debug for Utf8Predicate<P>
source§impl<P> Display for Utf8Predicate<P>
impl<P> Display for Utf8Predicate<P>
source§impl<P> PartialEq for Utf8Predicate<P>
impl<P> PartialEq for Utf8Predicate<P>
source§impl<P> Predicate<[u8]> for Utf8Predicate<P>
impl<P> Predicate<[u8]> for Utf8Predicate<P>
source§impl<P> Predicate<OsStr> for Utf8Predicate<P>
impl<P> Predicate<OsStr> for Utf8Predicate<P>
source§impl<P> PredicateReflection for Utf8Predicate<P>
impl<P> PredicateReflection for Utf8Predicate<P>
impl<P> Copy for Utf8Predicate<P>
impl<P> Eq for Utf8Predicate<P>
impl<P> StructuralPartialEq for Utf8Predicate<P>
Auto Trait Implementations§
impl<P> Freeze for Utf8Predicate<P>where
P: Freeze,
impl<P> RefUnwindSafe for Utf8Predicate<P>where
P: RefUnwindSafe,
impl<P> Send for Utf8Predicate<P>where
P: Send,
impl<P> Sync for Utf8Predicate<P>where
P: Sync,
impl<P> Unpin for Utf8Predicate<P>where
P: Unpin,
impl<P> UnwindSafe for Utf8Predicate<P>where
P: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<P, Item> PredicateBooleanExt<Item> for P
impl<P, Item> PredicateBooleanExt<Item> for P
source§fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item>
Compute the logical AND of two
Predicate
results, returning the result. Read moresource§fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
fn or<B>(self, other: B) -> OrPredicate<Self, B, Item>
Compute the logical OR of two
Predicate
results, returning the result. Read more