pub struct MaxScored<K, T>(pub K, pub T);Tuple Fields§
§0: K§1: TTrait Implementations§
Source§impl<K: PartialOrd, T> Ord for MaxScored<K, T>
impl<K: PartialOrd, T> Ord for MaxScored<K, T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<K: PartialOrd, T> PartialEq for MaxScored<K, T>
impl<K: PartialOrd, T> PartialEq for MaxScored<K, T>
Source§impl<K: PartialOrd, T> PartialOrd for MaxScored<K, T>
impl<K: PartialOrd, T> PartialOrd for MaxScored<K, T>
impl<K: Copy, T: Copy> Copy for MaxScored<K, T>
impl<K: PartialOrd, T> Eq for MaxScored<K, T>
Auto Trait Implementations§
impl<K, T> Freeze for MaxScored<K, T>
impl<K, T> RefUnwindSafe for MaxScored<K, T>where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<K, T> Send for MaxScored<K, T>
impl<K, T> Sync for MaxScored<K, T>
impl<K, T> Unpin for MaxScored<K, T>
impl<K, T> UnsafeUnpin for MaxScored<K, T>where
K: UnsafeUnpin,
T: UnsafeUnpin,
impl<K, T> UnwindSafe for MaxScored<K, T>where
K: UnwindSafe,
T: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.