Struct sway_utils::mapped_stack::MappedStack
source · Expand description
A HashMap that can hold multiple values and fetch values in a LIFO manner. Rust’s MultiMap handles values in a FIFO manner.
Implementations
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for MappedStack<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for MappedStack<K, V>where
K: Send,
V: Send,
impl<K, V> Sync for MappedStack<K, V>where
K: Sync,
V: Sync,
impl<K, V> Unpin for MappedStack<K, V>where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for MappedStack<K, V>where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more