Struct abstutil::collections::VecMap
source · pub struct VecMap<K, V> {
inner: Vec<(K, V)>,
}
Expand description
Use when your key is just PartialEq, not Ord or Hash.
Fields§
§inner: Vec<(K, V)>
Implementations§
source§impl<K: Clone + PartialEq, V> VecMap<K, V>
impl<K: Clone + PartialEq, V> VecMap<K, V>
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for VecMap<K, V>
impl<K, V> RefUnwindSafe for VecMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for VecMap<K, V>
impl<K, V> Sync for VecMap<K, V>
impl<K, V> Unpin for VecMap<K, V>
impl<K, V> UnwindSafe for VecMap<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