pub type MemoryLayout = MemoryLayout<AbsoluteAddr>;Aliased Type§
pub struct MemoryLayout {Show 23 fields
pub four_state: bool,
pub mode: MemoryLayoutMode,
pub offsets: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>,
pub widths: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>,
pub is_4states: HashMap<AbsoluteAddrBase<StateObjectId>, bool, BuildHasherDefault<FxHasher>>,
pub unpacked_arrays: HashMap<AbsoluteAddrBase<StateObjectId>, UnpackedArrayLayout, BuildHasherDefault<FxHasher>>,
pub total_size: usize,
pub working_offsets: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>,
pub working_base_offset: usize,
pub sparse_offsets: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>,
pub sparse_base_offset: usize,
pub sparse_layouts: HashMap<AbsoluteAddrBase<StateObjectId>, SparseWorkingLayout, BuildHasherDefault<FxHasher>>,
pub sparse_active_bits_offset: usize,
pub sparse_active_capacity: usize,
pub merged_total_size: usize,
pub triggered_bits_offset: usize,
pub triggered_bits_total_size: usize,
pub scratch_base_offset: usize,
pub scratch_size: usize,
pub runtime_event_capacity: usize,
pub runtime_event_slot_size: usize,
pub runtime_event_buffer_size: usize,
pub runtime_event_site_layouts: Vec<RuntimeEventSiteLayout>,
}Fields§
§four_state: bool§mode: MemoryLayoutMode§offsets: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>Stable region offsets. Includes all declared state objects.
widths: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>§is_4states: HashMap<AbsoluteAddrBase<StateObjectId>, bool, BuildHasherDefault<FxHasher>>Whether each state object has a four-state source type.
unpacked_arrays: HashMap<AbsoluteAddrBase<StateObjectId>, UnpackedArrayLayout, BuildHasherDefault<FxHasher>>§total_size: usizeStable region size in bytes.
working_offsets: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>Working region offsets. Includes only actually-used state objects.
working_base_offset: usize§sparse_offsets: HashMap<AbsoluteAddrBase<StateObjectId>, usize, BuildHasherDefault<FxHasher>>Copy-on-write next-state data for dynamically addressed FF targets.
sparse_base_offset: usize§sparse_layouts: HashMap<AbsoluteAddrBase<StateObjectId>, SparseWorkingLayout, BuildHasherDefault<FxHasher>>§sparse_active_bits_offset: usize§sparse_active_capacity: usize§merged_total_size: usize§triggered_bits_offset: usize§triggered_bits_total_size: usize§scratch_base_offset: usize§scratch_size: usize§runtime_event_capacity: usize§runtime_event_slot_size: usize§runtime_event_buffer_size: usize§runtime_event_site_layouts: Vec<RuntimeEventSiteLayout>