pub struct KeyValPair<K, V> {
pub key: K,
pub val: V,
}Expand description
A key-value pair.
Fields§
§key: K§val: VTrait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for KeyValPair<K, V>
impl<K, V> RefUnwindSafe for KeyValPair<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for KeyValPair<K, V>
impl<K, V> Sync for KeyValPair<K, V>
impl<K, V> Unpin for KeyValPair<K, V>
impl<K, V> UnsafeUnpin for KeyValPair<K, V>where
K: UnsafeUnpin,
V: UnsafeUnpin,
impl<K, V> UnwindSafe for KeyValPair<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