[−][src]Struct rustc_resolve::late::lifetimes::NamedRegionMap

pub(in late::lifetimes) struct NamedRegionMap {
    defs: HirIdMap<Region>,
    late_bound: HirIdSet,
    object_lifetime_defaults: HirIdMap<Vec<ObjectLifetimeDefault>>,
}

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: HirIdSetobject_lifetime_defaults: HirIdMap<Vec<ObjectLifetimeDefault>>

Trait Implementations

impl Default for NamedRegionMap[src]

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

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.