pub(crate) struct LowerCtx<'a> {Show 27 fields
pub(crate) function: &'a MirFunction,
pub(crate) local_indices: &'a BTreeMap<u32, Option<LocalId>>,
pub(crate) local_runtime_types: &'a BTreeMap<u32, Option<ValType>>,
pub(crate) local_tys: &'a BTreeMap<u32, Ty>,
pub(crate) local_reprs: &'a BTreeMap<u32, MirLocalRepr>,
pub(crate) local_heap_ownership: &'a BTreeMap<u32, MirHeapOwnership>,
pub(crate) passthrough_place_locals: &'a BTreeSet<u32>,
pub(crate) shadow_stack_offsets: &'a BTreeMap<u32, u32>,
pub(crate) func_id_by_mir: &'a BTreeMap<u32, FunctionId>,
pub(crate) callee_param_runtime_mask: &'a BTreeMap<u32, Vec<bool>>,
pub(crate) callee_param_runtime_types: &'a BTreeMap<u32, Vec<ValType>>,
pub(crate) callee_param_inout_mask: &'a BTreeMap<u32, Vec<bool>>,
pub(crate) callee_returns_via_out_slot: &'a BTreeMap<u32, bool>,
pub(crate) callee_returns_runtime: &'a BTreeMap<u32, bool>,
pub(crate) runtime: &'a RuntimeFunctions,
pub(crate) pointer_drop_functions: &'a BTreeMap<String, FunctionId>,
pub(crate) memory_id: MemoryId,
pub(crate) string_literal_offsets: &'a BTreeMap<String, u32>,
pub(crate) structs: &'a [MirStructDecl],
pub(crate) enums: &'a [MirEnumDecl],
pub(crate) function_line: i32,
pub(crate) scratch_i64_local: LocalId,
pub(crate) scratch_i32_local: LocalId,
pub(crate) scratch_i32_local_b: LocalId,
pub(crate) scratch_i32_local_c: LocalId,
pub(crate) scratch_i32_local_d: LocalId,
pub(crate) scratch_i32_local_e: LocalId,
}Fields§
§function: &'a MirFunction§local_indices: &'a BTreeMap<u32, Option<LocalId>>§local_runtime_types: &'a BTreeMap<u32, Option<ValType>>§local_tys: &'a BTreeMap<u32, Ty>§local_reprs: &'a BTreeMap<u32, MirLocalRepr>§local_heap_ownership: &'a BTreeMap<u32, MirHeapOwnership>§passthrough_place_locals: &'a BTreeSet<u32>§shadow_stack_offsets: &'a BTreeMap<u32, u32>§func_id_by_mir: &'a BTreeMap<u32, FunctionId>§callee_param_runtime_mask: &'a BTreeMap<u32, Vec<bool>>§callee_param_runtime_types: &'a BTreeMap<u32, Vec<ValType>>§callee_param_inout_mask: &'a BTreeMap<u32, Vec<bool>>§callee_returns_via_out_slot: &'a BTreeMap<u32, bool>§callee_returns_runtime: &'a BTreeMap<u32, bool>§runtime: &'a RuntimeFunctions§pointer_drop_functions: &'a BTreeMap<String, FunctionId>§memory_id: MemoryId§string_literal_offsets: &'a BTreeMap<String, u32>§structs: &'a [MirStructDecl]§enums: &'a [MirEnumDecl]§function_line: i32§scratch_i64_local: LocalId§scratch_i32_local: LocalId§scratch_i32_local_b: LocalId§scratch_i32_local_c: LocalId§scratch_i32_local_d: LocalId§scratch_i32_local_e: LocalIdTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LowerCtx<'a>
impl<'a> RefUnwindSafe for LowerCtx<'a>
impl<'a> Send for LowerCtx<'a>
impl<'a> Sync for LowerCtx<'a>
impl<'a> Unpin for LowerCtx<'a>
impl<'a> UnwindSafe for LowerCtx<'a>
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