Struct rustc_resolve::late::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
sourceimpl Debug for NamedRegionMap
impl Debug for NamedRegionMap
sourceimpl Default for NamedRegionMap
impl Default for NamedRegionMap
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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