Expand description
§Feature flags
nightly
(enabled by default) — disable to make the library compatible with stable and beta Rust channels.
Macros§
- Component
- Macro attribute for deriving
Component
trait. - Newtype
Component Id - Macro attribute
for deriving
ComponentId
trait.
Structs§
- Arena
- Unordered container with random access.
- Arena
Items - A (mostly read-only) inner container holding
Arena
items. WhileArena
itself is unique (i.e. non-clonable) object, arena ‘items’ could be cloned. - Arena
Items Ids - An iterator over all items ids.
- Arena
Items Into Ids - An iterator over all items ids.
- Arena
Items Into Iter - An iterator over all items combined with their ids.
- Arena
Items Into Values - An iterator over all items.
- Arena
Items Iter - An iterator over all items combined with their ids.
- Arena
Items Iter Mut - A mutable iterator over all items combined with their ids.
- Arena
Items Values - An iterator over all items.
- Arena
Items Values Mut - A mutable iterator over all items.
- Component
Class Token - Component class static shared data.
The return type of the
ComponentClass::token
function. - Id
Arena
item handle.
Traits§
- Component
- An implementer of the
Component
trait is a type, whose values can be placed intoArena
container. - Component
Class - An utility trait describing a specific component type.
- Component
Id - An implementer of the
ComponentId
trait is a type behaves asId
.
Type Aliases§
- RawId
- Non-generic, FFI-friendly
ComponentId
representaion.