Type Alias rustc_data_structures::fx::IndexEntry

source ·
pub type IndexEntry<'a, K, V> = Entry<'a, K, V>;

Aliased Type§

enum IndexEntry<'a, K, V> {
    Occupied(OccupiedEntry<'a, K, V>),
    Vacant(VacantEntry<'a, K, V>),



Occupied(OccupiedEntry<'a, K, V>)

Existing slot with equivalent key.


Vacant(VacantEntry<'a, K, V>)

Vacant slot (no equivalent key in the map).


Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.