Module higher_kinded_types::extra_arities
source · 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
- Variadic version of
crate::ForLt!
, suitable for theFor…
traits of this module. - Define (new)
type
s with the desiredFor
semantics.
Traits
- 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.