Skip to main content

Module ecs

Module ecs 

Expand description

Zero-Heap Fixed-Capacity SOA Archetype ECS (ecs).

Provides Tick(pub u32) change detection, SimTable<T, CAP> dense-row SOA storage, and allocation-free Changed<T> / Added<T> reactive filter iterators.

Modules§

query
Zero-Heap Reactive ECS Filter Iterators (query.rs).
table
Fixed-Capacity SOA Archetype Table (table.rs).
tick
Zero-Heap Change-Detection Tick (tick.rs).

Structs§

Added
Zero-heap iterator yielding (entity_id, &T) for rows whose added_tick is newer than last_run.
Changed
Zero-heap iterator yielding (entity_id, &T) for rows whose changed_tick is newer than last_run.
SimTable
Fixed-capacity SOA component table with dense storage and per-row change-detection ticks.
Tick
Monotonically advancing 32-bit change-detection tick.

Enums§

SimTableError
Errors returned by SimTable operations.

Constants§

INVALID_ROW
Sentinel value indicating that an entity ID is not present in a SimTable.