Module rustc_trans::middle::traitsExperimental
[-]
[+]
[src]
Trait Resolution. See doc.rs.
Structs
| FulfillmentContext | The fulfillment context is used to drive trait resolution. It
consists of a list of obligations that must be (eventually)
satisfied. The job is to track which are satisfied, which yielded
errors, and which are still pending. At any point, users can call
|
| FulfillmentError | |
| Obligation | An |
| ObligationCause | Why did we incur this obligation? Used for error reporting. |
| SelectionCache | |
| SelectionContext | |
| Supertraits | |
| VtableBuiltinData | |
| VtableImplData | Identifies a particular impl in the source, along with a set of
substitutions from the impl's type/lifetime parameters. The
|
| VtableParamData | A vtable provided as a parameter by the caller. For example, in a
function like |
Enums
| FulfillmentErrorCode | |
| MethodMatchResult | |
| MethodMatchedData | |
| ObligationCauseCode | |
| SelectionError | |
| Vtable | Given the successful resolution of an obligation, the |
Functions
| is_orphan_impl | True if neither the trait nor self type is local. Note that
|
| obligation_for_builtin_bound | |
| obligations_for_generics | Given generic bounds from an impl like: |
| overlapping_impls | True if there exist types that satisfy both of the two given impls. |
| search_trait_and_supertraits_from_bound | Starting from a caller obligation |
| select_inherent_impl | Matches the self type of the inherent impl |
| supertraits | Returns an iterator over the trait reference |
| transitive_bounds |
Type Definitions
| Obligations | |
| Selection | |
| SelectionResult |