SnapshotMapRef in rustc_data_structures::snapshot_map - Rust
Description: API documentation for the Rust `SnapshotMapRef` type in crate `rustc_data_structures`.

Skip to main content

## SnapshotMapRef

# Type Alias SnapshotMapRef

Source

    pub type SnapshotMapRef<'a, K, V, L> = SnapshotMap<K, V, &'a mut FxHashMap<K, V>, &'a mut L>;

## Aliased Type§

    pub struct SnapshotMapRef<'a, K, V, L> {
        map: &'a mut HashMap<K, V, FxBuildHasher>,
        undo_log: &'a mut L,
        _marker: PhantomData<(K, V)>,
    }

## Fields§

§`map: &'a mut HashMap<K, V, FxBuildHasher>`§`undo_log: &'a mut L`§`_marker: PhantomData<(K, V)>`

## 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: 16 bytes