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