pub struct StackMap<K, V>where
K: PartialEq,{
pub keys: Vec<K>,
pub value: Vec<V>,
}Expand description
Keys keep the order they’re added in.
Fields§
§keys: Vec<K>§value: Vec<V>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for StackMap<K, V>
impl<K, V> RefUnwindSafe for StackMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for StackMap<K, V>
impl<K, V> Sync for StackMap<K, V>
impl<K, V> Unpin for StackMap<K, V>
impl<K, V> UnwindSafe for StackMap<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