pub struct SmallMap<K: Ord + Clone, V: Clone> { /* private fields */ }Expand description
A simple key-value store backed by a sorted Vec for small maps.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for SmallMap<K, V>
impl<K, V> RefUnwindSafe for SmallMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for SmallMap<K, V>
impl<K, V> Sync for SmallMap<K, V>
impl<K, V> Unpin for SmallMap<K, V>
impl<K, V> UnsafeUnpin for SmallMap<K, V>
impl<K, V> UnwindSafe for SmallMap<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