Struct rustc::hir::def::PathResolution [] [src]

pub struct PathResolution { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustc_private)

The result of resolving a path before lowering to HIR. base_def is definition of resolved part of the path, unresolved_segments is the number of unresolved segments. module::Type::AssocX::AssocY::MethodOrAssocType ~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ base_def unresolved_segments = 3

<T as Trait>::AssocX::AssocY::MethodOrAssocType
      ^~~~~~~~~~~~~~  ^~~~~~~~~~~~~~~~~~~~~~~~~
      base_def        unresolved_segments = 2

Methods

impl PathResolution
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Copy for PathResolution
[src]

impl Clone for PathResolution
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PathResolution
[src]

Formats the value using the given formatter.