pub struct Pair<K, V> {
pub key: K,
pub colon_token: Colon,
pub value: V,
}
Fields§
§key: K
§colon_token: Colon
§value: V
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for Pair<K, V>
impl<K, V> RefUnwindSafe for Pair<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> !Send for Pair<K, V>
impl<K, V> !Sync for Pair<K, V>
impl<K, V> Unpin for Pair<K, V>
impl<K, V> UnwindSafe for Pair<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