Struct rustc_data_structures::stable_map::StableMap [−][src]
pub struct StableMap<K, V> {
base: FxHashMap<K, V>,
}
Expand description
A deterministic wrapper around FxHashMap that does not provide iteration support.
It supports insert, remove, get and get_mut functions from FxHashMap.
It also allows to convert hashmap to a sorted vector with the method into_sorted_vector()
.
Fields
base: FxHashMap<K, V>
Implementations
Trait Implementations
Auto Trait Implementations
impl<K, V> RefUnwindSafe for StableMap<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> UnwindSafe for StableMap<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes