pub struct TsInitComparator;
Trait Implementations§
Source§impl<I> Compare<ElementBatchIter<I, Data>> for TsInitComparator
impl<I> Compare<ElementBatchIter<I, Data>> for TsInitComparator
Source§fn compare(
&self,
l: &ElementBatchIter<I, Data>,
r: &ElementBatchIter<I, Data>,
) -> Ordering
fn compare( &self, l: &ElementBatchIter<I, Data>, r: &ElementBatchIter<I, Data>, ) -> Ordering
Compares two values, returning
Less
, Equal
, or Greater
if l
is less
than, equal to, or greater than r
, respectively.§fn compares_lt(&self, l: &L, r: &R) -> bool
fn compares_lt(&self, l: &L, r: &R) -> bool
Checks if
l
is less than r
.§fn compares_le(&self, l: &L, r: &R) -> bool
fn compares_le(&self, l: &L, r: &R) -> bool
Checks if
l
is less than or equal to r
.§fn compares_ge(&self, l: &L, r: &R) -> bool
fn compares_ge(&self, l: &L, r: &R) -> bool
Checks if
l
is greater than or equal to r
.§fn compares_gt(&self, l: &L, r: &R) -> bool
fn compares_gt(&self, l: &L, r: &R) -> bool
Checks if
l
is greater than r
.§fn compares_eq(&self, l: &L, r: &R) -> bool
fn compares_eq(&self, l: &L, r: &R) -> bool
Checks if
l
is equal to r
.§fn compares_ne(&self, l: &L, r: &R) -> bool
fn compares_ne(&self, l: &L, r: &R) -> bool
Checks if
l
is not equal to r
.§fn borrowing(self) -> Borrowing<Self, L, R>where
Self: Sized,
fn borrowing(self) -> Borrowing<Self, L, R>where
Self: Sized,
Borrows the comparator’s parameters before comparing them. Read more
§fn swap(self) -> Swap<Self>where
Self: Sized,
fn swap(self) -> Swap<Self>where
Self: Sized,
Swaps the comparator’s parameters, maintaining the underlying ordering. Read more
§fn then<D>(self, then: D) -> Then<Self, D>where
D: Compare<L, R>,
Self: Sized,
fn then<D>(self, then: D) -> Then<Self, D>where
D: Compare<L, R>,
Self: Sized,
Lexicographically combines
the comparator with another. Read more
Source§impl Debug for TsInitComparator
impl Debug for TsInitComparator
Source§impl Default for TsInitComparator
impl Default for TsInitComparator
Source§fn default() -> TsInitComparator
fn default() -> TsInitComparator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TsInitComparator
impl RefUnwindSafe for TsInitComparator
impl Send for TsInitComparator
impl Sync for TsInitComparator
impl Unpin for TsInitComparator
impl UnwindSafe for TsInitComparator
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> 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 more