Type Alias DefIdMapEntry

Source
pub type DefIdMapEntry<'a, T> = Entry<'a, DefId, T>;

Aliased Type§

pub enum DefIdMapEntry<'a, T> {
    Occupied(OccupiedEntry<'a, DefId, T>),
    Vacant(VacantEntry<'a, DefId, T>),
}

Variants§

§

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

An occupied entry.

§

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

A vacant entry.

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.