Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Lifetime Projections

Generalized Lifetimes

A generalized lifetime is either a region or , where is either:

  1. a type parameter, or
  2. 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: