Expand description
Minimalistic Data Structures and Entity-Component-System Library.
Modules§
- collections
- Collection library.
- ecs
- Entity-Component-Resource registry.
- prelude
- Commonly used types.
Macros§
- Cons
- Returns the concrete Cons type signature for the provided types.
- cons
- Constructs a Cons based on the values or identifiers passed in.
Structs§
- Index
- A standard GenIndex with usize index and usize generation
- Index
F64 - A GenIndex that is stored as f64, which 32bit index and 21bit generation. Useful for interfacing with Javascript
- Index
U64 - A GenIndex that is stored as u64, which 32bit index and 32bit generation.
- Typed
Index - A GenIndex newtype.
Traits§
- GenIndex
- An index with generation that can be used as a weak reference to array values. The generation part allows indices to be reused without suffering from ABA problem, so that data can be safely stored in a packed array.
- Unsigned
Num - Marker trait for an unsigned number type castable to/from unsigned primitives