Struct rustc_hir_analysis::collect::lifetimes::NamedRegionMap
source · struct NamedRegionMap {
defs: HirIdMap<Region>,
late_bound_vars: HirIdMap<Vec<BoundVariableKind>>,
}
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_vars: HirIdMap<Vec<BoundVariableKind>>
Trait Implementations§
source§impl Debug for NamedRegionMap
impl Debug for NamedRegionMap
source§impl Default for NamedRegionMap
impl Default for NamedRegionMap
source§fn default() -> NamedRegionMap
fn default() -> NamedRegionMap
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: 112 bytes