Type Alias HirIdMapEntry

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

Aliased Type§

pub 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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.