pub struct ByKey<F>(pub F);Tuple Fields§
§0: FTrait Implementations§
Source§impl<T, F, K> Comparator<T> for ByKey<F>
impl<T, F, K> Comparator<T> for ByKey<F>
Source§impl<F: Ord> Ord for ByKey<F>
impl<F: Ord> Ord for ByKey<F>
Source§impl<F: PartialOrd> PartialOrd for ByKey<F>
impl<F: PartialOrd> PartialOrd for ByKey<F>
impl<F: Copy> Copy for ByKey<F>
impl<F: Eq> Eq for ByKey<F>
impl<F> StructuralPartialEq for ByKey<F>
Auto Trait Implementations§
impl<F> Freeze for ByKey<F>where
F: Freeze,
impl<F> RefUnwindSafe for ByKey<F>where
F: RefUnwindSafe,
impl<F> Send for ByKey<F>where
F: Send,
impl<F> Sync for ByKey<F>where
F: Sync,
impl<F> Unpin for ByKey<F>where
F: Unpin,
impl<F> UnwindSafe for ByKey<F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsTotalOrd for Twhere
T: PartialOrd,
impl<T> AsTotalOrd for Twhere
T: PartialOrd,
fn as_total_ord(&self) -> TotalOrd<&T>
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