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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)