pub struct Entry<K, V>(pub K, pub V);
Expand description
KeyValue Pair
Tuple Fields§
§0: K
§1: V
Trait Implementations§
Source§impl<K: PartialOrd, V> Ord for Entry<K, V>
impl<K: PartialOrd, V> Ord for Entry<K, V>
Source§impl<K: PartialOrd, V> PartialOrd for Entry<K, V>
impl<K: PartialOrd, V> PartialOrd for Entry<K, V>
impl<K: PartialEq, V> Eq for Entry<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for Entry<K, V>
impl<K, V> RefUnwindSafe for Entry<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Entry<K, V>
impl<K, V> Sync for Entry<K, V>
impl<K, V> Unpin for Entry<K, V>
impl<K, V> UnwindSafe for Entry<K, V>where
K: UnwindSafe,
V: 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