Module ra_ap_hir_ty::method_resolution [−][src]
Expand description
This module is concerned with finding methods that a given type provides. For details about how this works in rustc, see the method lookup page in the rustc guide and the corresponding code mostly in librustc_typeck/check/method/probe.rs.
Structs
Inherent impls defined in some crate.
Trait impls defined or available in some crate.
Enums
Whether we’re looking up a dotted method call (like v.len()
) or a path
(like Vec::new
).
This is used as a key for indexing impls.
Functions
Returns the self type for the index trait call.