[−][src]Struct rustc_middle::middle::resolve_lifetime::ResolveLifetimes
Maps the id of each lifetime reference to the lifetime decl that it corresponds to.
Fields
defs: FxHashMap<LocalDefId, FxHashMap<ItemLocalId, Region>>Maps from every use of a named (not anonymous) lifetime to a
Region describing how that region is bound
late_bound: FxHashMap<LocalDefId, FxHashSet<ItemLocalId>>Set of lifetime def ids that are late-bound; a region can be late-bound if (a) it does NOT appear in a where-clause and (b) it DOES appear in the arguments.
object_lifetime_defaults: FxHashMap<LocalDefId, FxHashMap<ItemLocalId, Vec<ObjectLifetimeDefault>>>For each type and trait definition, maps type parameters to the trait object lifetime defaults computed from them.
Trait Implementations
impl Default for ResolveLifetimes[src]
pub fn default() -> ResolveLifetimes[src]
impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ResolveLifetimes[src]
pub fn hash_stable(
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)[src]
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)
Auto Trait Implementations
impl RefUnwindSafe for ResolveLifetimes
impl Send for ResolveLifetimes
impl Sync for ResolveLifetimes
impl Unpin for ResolveLifetimes
impl UnwindSafe for ResolveLifetimes
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
pub fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
pub fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.