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
//! Component registration, storage policy, and dense registry-local handles.
//!
//! [`ComponentOptions`] selects sparse or table storage and tag semantics at registration time.
//! [`ComponentId`] identifies a registered component within one world.

mod options;
mod registry;

pub use options::{ComponentOptions, StorageKind};
pub(crate) use registry::ComponentRegistry;
pub use registry::{ComponentId, RegistrationError};