pub struct DifferencePredicate { /* private fields */ }
Expand description
Predicate that diffs two strings.
This is created by the predicate::str::diff
.
Trait Implementations§
Source§impl Clone for DifferencePredicate
impl Clone for DifferencePredicate
Source§fn clone(&self) -> DifferencePredicate
fn clone(&self) -> DifferencePredicate
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 Debug for DifferencePredicate
impl Debug for DifferencePredicate
Source§impl Display for DifferencePredicate
impl Display for DifferencePredicate
Source§impl PartialEq for DifferencePredicate
impl PartialEq for DifferencePredicate
Source§impl Predicate<str> for DifferencePredicate
impl Predicate<str> for DifferencePredicate
impl Eq for DifferencePredicate
impl StructuralPartialEq for DifferencePredicate
Auto Trait Implementations§
impl Freeze for DifferencePredicate
impl RefUnwindSafe for DifferencePredicate
impl Send for DifferencePredicate
impl Sync for DifferencePredicate
impl Unpin for DifferencePredicate
impl UnwindSafe for DifferencePredicate
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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