[][src]Crate specs_static

A library that is meant to used together with Specs in cases where you need another id strategy which isn't as flexible, but much faster because there's no need for complex allocations.

One specific example is a tile map, where each tile is basically like an entity. Because we won't delete any tiles, we can optimize the allocator. The current revision doesn't even need an allocator at all, the user can manage the ids freely.

Structs

Storage

A storage for components managed with specs_static::Id instead of Entity. This Storage behaves very similar to specs' Storage.

Traits

Id

The ids component storages are indexed with. This is mostly just a newtype wrapper with a u32 in it.

WorldExt

An extension trait for registering statically managed component storages.