Lifetime Projections
Generalized Lifetimes
A generalized lifetime is either a region or , where is either:
- a type parameter, or
- a type alias that cannot be normalized
Generalized Lifetime Projections
A generalized lifetime projection takes the form where is a base having an associated type . The index of a lifetime projection is the index of the occurence of in the generalized lifetime list (the list of generalized lifetimes in , occurring in the order they appear in , and with duplicates removed).
A lifetime projection is a generalized lifetime projection of the form (that is, a generalized lifetime projection where the associated generalized lifetime is a region).
PCG Lifetime Projections
PCG lifetime projections take the following form
Lifetime Projection Lifetime
The lifetime of a lifetime projection is conceptually the lifetime on the right of the , i.e:
Lifetime Projection Base
The base of a lifetime projection is conceptually the part on the left of the , i.e. defined as follows: