pub(crate) struct Record<K, V> {
pub(crate) key: K,
pub(crate) value: V,
}
Fields
key: K
value: V
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for Record<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Record<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for Record<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for Record<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for Record<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more