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: HirIdSetlate_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 NamedRegionMapimpl Send for NamedRegionMapimpl Sync for NamedRegionMapimpl Unpin for NamedRegionMapimpl UnwindSafe for NamedRegionMapBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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