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: usizeImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PartialResimpl Send for PartialResimpl Sync for PartialResimpl Unpin for PartialResimpl UnwindSafe for PartialResBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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