Expand description
Instance โ per-instance kernel-state container.
Holds entities, components, scheduler, ID counters, ledger, in-flight
module refs, wall-remainder, and local tick. Mutation flows through the
pub(crate) accessor surface; runtime::apply::apply_stage is the sole
caller that drives StepStage (10-bucket commit-or-rollback) into
Instance state.
Structsยง
- Entity
Meta - Per-entity metadata. Surfaced to L1 via
runtime::InstanceView. - Instance
Snapshot - Round-tripable shape of a single
Instance. Pub struct, pub(crate) fields โ visible as a type at the crate boundary (soKernelSnapshotcan name it) but not constructible/inspectable from outside the kernel crate.