Skip to main content

Crate celox_state_layout

Crate celox_state_layout 

Source
Expand description

Shared physical simulation-state layout contracts.

These types and offsets form the ABI between layout construction, generated code, and runtime state access. They contain no frontend or backend IR.

Structs§

LayoutInput
Complete, backend-independent input to physical layout construction.
LayoutRequirements
Semantic constraints produced by optimization and consumed when physical state layout is finalized.
MemoryLayout
RuntimeEventArgLayout
RuntimeEventSiteLayout
SparseWorkingLayout
StateObjectLayout
One semantic state object that requires stable storage.
UnpackedArrayLayout

Enums§

MemoryLayoutMode

Constants§

RUNTIME_EVENT_CAPACITY
RUNTIME_EVENT_HEADER_SIZE
Runtime-event write sequence observed when a native tick batch starts.
RUNTIME_EVENT_SLOT_ARG_COUNT_OFFSET
RUNTIME_EVENT_SLOT_PAYLOAD_OFFSET
RUNTIME_EVENT_SLOT_SEQ_OFFSET
RUNTIME_EVENT_SLOT_SITE_OFFSET
RUNTIME_EVENT_WRITING
STATE_HEADER_COMB_CAPTURE_ENABLED_ADDR_OFFSET
STATE_HEADER_NATIVE_LOOP_EVENT_SEQ_OFFSET
STATE_HEADER_NATIVE_LOOP_REMAINING_OFFSET
Remaining iterations for an in-function native tick loop.
STATE_HEADER_RUNTIME_EVENT_ADDR_OFFSET
STATE_HEADER_SIZE

Traits§

LayoutSource
Adapter implemented by the phase artifact that precedes physical layout.
RegionedAddress

Functions§

get_byte_size