Struct rustc_hir_analysis::collect::resolve_bound_vars::NamedVarMap
source · struct NamedVarMap {
defs: HirIdMap<ResolvedArg>,
late_bound_vars: HirIdMap<Vec<BoundVariableKind>>,
}
Expand description
Maps the id of each bound variable reference to the variable decl that it corresponds to.
FIXME. This struct gets converted to a ResolveBoundVars
for
actual use. It has the same data, but indexed by LocalDefId
. This
is silly.
Fields§
§defs: HirIdMap<ResolvedArg>
§late_bound_vars: HirIdMap<Vec<BoundVariableKind>>
Trait Implementations§
source§impl Debug for NamedVarMap
impl Debug for NamedVarMap
source§impl Default for NamedVarMap
impl Default for NamedVarMap
source§fn default() -> NamedVarMap
fn default() -> NamedVarMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NamedVarMap
impl Send for NamedVarMap
impl Sync for NamedVarMap
impl Unpin for NamedVarMap
impl UnwindSafe for NamedVarMap
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 112 bytes