Crate bones_ecs

source ·
Expand description

Bones ECS

A minimal ECS ( Entity Component System ) designed for easy snapshotting and future moddability.

Originally forked from the Planck ECS, with heavy modifications.

Modules

Atomic Refcell implmentation.
Bitset implementation.
ECS component storage.
Entity implementation, storage, and interation.
The prelude.
World resource storage.
Implementation of stage abstraction for running collections of systems over a World.
Implements the system API for the ECS.
ULID-related utilities such as ULID map and type ULIDs.

Structs

The World is simply a collection of Resources, and ComponentStores.

Enums

The types of errors used throughout the ECS.

Traits

Helper trait that is auto-implemented for anything that may be stored in the ECS’s untyped storage.
Helper trait that is auto-implemented for all Clone-able types. Provides easy access to drop and clone funcitons for raw pointers.
Helper trait that is auto-implemented for anything that may be stored in the ECS’s typed storage.

Functions

Free-standing, shorter equivalent to Default::default().