Struct rustc_hir::def::PartialRes [−][src]
Expand description
The result of resolving a path before lowering to HIR,
with “module” segments resolved and associated item
segments deferred to type checking.
base_res
is the resolution of the resolved part of the
path, unresolved_segments
is the number of unresolved
segments.
module::Type::AssocX::AssocY::MethodOrAssocType
^~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
base_res unresolved_segments = 3
<T as Trait>::AssocX::AssocY::MethodOrAssocType
^~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
base_res unresolved_segments = 2
Fields
base_res: Res<NodeId>
unresolved_segments: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PartialRes
impl Send for PartialRes
impl Sync for PartialRes
impl Unpin for PartialRes
impl UnwindSafe for PartialRes
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes