Type Alias rustc_hir::hir_id::HirIdMapEntry

source ·
pub type HirIdMapEntry<'a, T> = IndexEntry<'a, HirId, T>;

Aliased Type§

enum HirIdMapEntry<'a, T> {
    Occupied(OccupiedEntry<'a, HirId, T>),
    Vacant(VacantEntry<'a, HirId, T>),
}

Variants§

§

Occupied(OccupiedEntry<'a, HirId, T>)

Existing slot with equivalent key.

§

Vacant(VacantEntry<'a, HirId, T>)

Vacant slot (no equivalent key in the map).

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: 24 bytes

Size for each variant:

  • Occupied: 24 bytes
  • Vacant: 24 bytes