pub struct OrdComparator<K: Key + Ord> { /* private fields */ }
Expand description
OrdComparator is a comparator comparing Keys that implement Ord
Implementations§
Source§impl<K: Key + Ord> OrdComparator<K>
impl<K: Key + Ord> OrdComparator<K>
Sourcepub fn new(name: &str) -> OrdComparator<K>
pub fn new(name: &str) -> OrdComparator<K>
Create a new OrdComparator
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for OrdComparator<K>
impl<K> RefUnwindSafe for OrdComparator<K>where
K: RefUnwindSafe,
impl<K> Send for OrdComparator<K>where
K: Send,
impl<K> Sync for OrdComparator<K>where
K: Sync,
impl<K> Unpin for OrdComparator<K>where
K: Unpin,
impl<K> UnwindSafe for OrdComparator<K>where
K: 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