Struct rustc_resolve::late::lifetimes::NamedRegionMap [−][src]
struct NamedRegionMap {
defs: HirIdMap<Region>,
late_bound: HirIdSet,
late_bound_vars: HirIdMap<Vec<BoundVariableKind>>,
scope_for_path: Option<FxHashMap<LocalDefId, FxHashMap<ItemLocalId, LifetimeScopeForPath>>>,
}
Expand description
Maps the id of each lifetime reference to the lifetime decl that it corresponds to.
FIXME. This struct gets converted to a ResolveLifetimes
for
actual use. It has the same data, but indexed by LocalDefId
. This
is silly.
Fields
defs: HirIdMap<Region>
late_bound: HirIdSet
late_bound_vars: HirIdMap<Vec<BoundVariableKind>>
scope_for_path: Option<FxHashMap<LocalDefId, FxHashMap<ItemLocalId, LifetimeScopeForPath>>>
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for NamedRegionMap
impl Send for NamedRegionMap
impl Sync for NamedRegionMap
impl Unpin for NamedRegionMap
impl UnwindSafe for NamedRegionMap
Blanket Implementations
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: 128 bytes