Type Alias rustc_middle::ty::closure::MinCaptureInformationMap
source · pub type MinCaptureInformationMap<'tcx> = LocalDefIdMap<RootVariableMinCaptureList<'tcx>>;
Expand description
Given the closure DefId this map provides a map of root variables to minimum
set of CapturedPlace
s that need to be tracked to support all captures of that closure.
Aliased Type§
struct MinCaptureInformationMap<'tcx> {
inner: HashMap<LocalDefId, IndexMap<HirId, Vec<CapturedPlace<'tcx>, Global>, BuildHasherDefault<FxHasher>>, BuildHasherDefault<FxHasher>>,
}
Fields§
§inner: HashMap<LocalDefId, IndexMap<HirId, Vec<CapturedPlace<'tcx>, Global>, BuildHasherDefault<FxHasher>>, BuildHasherDefault<FxHasher>>
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