pub struct StableMap<K, V>(/* private fields */);
Expand description
A wrapper around a HashMap which prevents accidentally observing the non-deterministic iteration order.
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for StableMap<K, V>
impl<K, V> RefUnwindSafe for StableMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for StableMap<K, V>
impl<K, V> Sync for StableMap<K, V>
impl<K, V> Unpin for StableMap<K, V>
impl<K, V> UnwindSafe for StableMap<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