Available on advanced only.
Expand description

Niche and advanced, you can ignore this to begin with. Module for other ForLt-like constructs: extended to various “arities”.

For instance:

  • ForTy so as to be generic over a type parameter,
  • ForLtAndLt so as to be generic over two lifetime parameters,
  • ForLtAndTy so as to be generic over a lifetime parameter and a type parameter.

Macros

Traits

  • Same as crate::ForLifetime, but for enforcing covariance of Self::Of<'_> (over '_).
  • The main trait of the crate. The one expressing : <'_>-genericity.
  • Genericity over two lifetime parameters.
  • Genericity over a lifetime and a type parameters.
  • Genericity over a type parameter.