pub struct MinComparator;
Trait Implementations§
Source§impl Clone for MinComparator
impl Clone for MinComparator
Source§fn clone(&self) -> MinComparator
fn clone(&self) -> MinComparator
Returns a duplicate 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<T: Ord> Compare<T> for MinComparator
impl<T: Ord> Compare<T> for MinComparator
Source§fn compare(&self, a: &T, b: &T) -> Ordering
fn compare(&self, a: &T, b: &T) -> Ordering
Compares two values, returning
Less
, Equal
, or Greater
if l
is less
than, equal to, or greater than r
, respectively.Source§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
Source§fn rev(self) -> Rev<Self>where
Self: Sized,
fn rev(self) -> Rev<Self>where
Self: Sized,
Reverses the ordering of the comparator. Read more
Source§impl Debug for MinComparator
impl Debug for MinComparator
Source§impl Default for MinComparator
impl Default for MinComparator
Source§fn default() -> MinComparator
fn default() -> MinComparator
Returns the “default value” for a type. Read more
Source§impl PartialEq for MinComparator
impl PartialEq for MinComparator
impl Copy for MinComparator
impl Eq for MinComparator
impl StructuralPartialEq for MinComparator
Auto Trait Implementations§
impl Freeze for MinComparator
impl RefUnwindSafe for MinComparator
impl Send for MinComparator
impl Sync for MinComparator
impl Unpin for MinComparator
impl UnwindSafe for MinComparator
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