Struct rustc_mir_transform::normalize_array_len::Patcher
source · struct Patcher<'a, 'tcx> {
tcx: TyCtxt<'tcx>,
patches_scratchpad: &'a FxIndexMap<usize, usize>,
replacements_scratchpad: &'a mut FxIndexMap<usize, Local>,
local_decls: &'a mut IndexVec<Local, LocalDecl<'tcx>>,
statement_idx: usize,
}
Fields§
§tcx: TyCtxt<'tcx>
§patches_scratchpad: &'a FxIndexMap<usize, usize>
§replacements_scratchpad: &'a mut FxIndexMap<usize, Local>
§local_decls: &'a mut IndexVec<Local, LocalDecl<'tcx>>
§statement_idx: usize
Implementations§
Auto Trait Implementations§
impl<'a, 'tcx> !RefUnwindSafe for Patcher<'a, 'tcx>
impl<'a, 'tcx> !Send for Patcher<'a, 'tcx>
impl<'a, 'tcx> !Sync for Patcher<'a, 'tcx>
impl<'a, 'tcx> Unpin for Patcher<'a, 'tcx>where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for Patcher<'a, 'tcx>
Blanket Implementations§
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: 40 bytes