moirai-for-games 0.1.0

A small deterministic no_std ECS for constrained and headless games
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Component storage engines: sparse sets and archetype tables.
//!
//! **Semantic map**
//! - [`sparse`]: entity-indexed sparse arrays with dense iteration and change ticks.
//! - [`erased`]: type-erased sparse facade for registry-driven lookup.
//! - [`archetype`]: signature-grouped entity rows and column migration.
//! - [`table`]: typed component columns within an archetype.

mod archetype;
mod erased;
mod sparse;
mod table;

pub(crate) use archetype::{table_column_factory, ArchetypeStorage, TableColumnFactory};
pub(crate) use erased::{SparseStore, TagSparseStorage, TypedSparseStorage};