Type Alias rustc_data_structures::snapshot_map::SnapshotMapStorage
source · pub type SnapshotMapStorage<K, V> = SnapshotMap<K, V, FxHashMap<K, V>, ()>;Aliased Type§
struct SnapshotMapStorage<K, V> {
map: HashMap<K, V, BuildHasherDefault<FxHasher>>,
undo_log: (),
_marker: PhantomData<(K, V)>,
}Fields§
§map: HashMap<K, V, BuildHasherDefault<FxHasher>>§undo_log: ()§_marker: PhantomData<(K, V)>Implementations§
source§impl<K, V, M, L> SnapshotMap<K, V, M, L>
impl<K, V, M, L> SnapshotMap<K, V, M, L>
pub fn with_log<L2>(&mut self, undo_log: L2) -> SnapshotMap<K, V, &mut M, L2>
Trait Implementations§
source§impl<K: Clone, V: Clone, M: Clone, L: Clone> Clone for SnapshotMap<K, V, M, L>
impl<K: Clone, V: Clone, M: Clone, L: Clone> Clone for SnapshotMap<K, V, M, L>
source§fn clone(&self) -> SnapshotMap<K, V, M, L>
fn clone(&self) -> SnapshotMap<K, V, M, L>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreLayout§
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