AdtImplMap

Type Alias AdtImplMap 

Source
pub type AdtImplMap<'tcx> = FxHashMap<DefId, Vec<(DefId, Ty<'tcx>)>>;
Expand description

(DefId of ADT) => Vec<(HirId of relevant impl block, impl_self_ty)> We use this map to quickly access associated impl blocks per ADT. impl_self_ty in the return value may differ from tcx.type_of(ADT.DefID), as different instantiations of the same ADT are distinct Tys. (e.g. Foo<i32, i64>, Foo<String, i32>)

Aliased Typeยง

pub struct AdtImplMap<'tcx> { /* private fields */ }