Expand description
Bidirectional type inference.
Modules§
Structs§
- Const
Var - A const variable, created when a generic const argument is not passed, and thus is not known yet and needs to be inferred.
- Error
Set - This struct is used to ensure that when an inference error occurs, it is properly set in the
Inference
object, and then properly consumed. - ImplVar
- An impl variable, created when a generic type argument is not passed, and thus is not known yet and needs to be inferred.
- Impl
VarId - Impl
VarTrait Item Mappings - A mapping of an impl var’s trait items to concrete items
- Inference
- State of inference. A system of inference constraints.
- Inference
Data - State of inference.
- Local
Const VarId - Local
Impl VarId - Local
Type VarId - TypeVar
- A type variable, created when a generic type argument is not passed, and thus is not known yet and needs to be inferred.
Enums§
- Inference
Error - Inference
Error Status - Inference
Id - An id for an inference context. Each inference variable is associated with an inference id.
- Inference
Var