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
Componenttrait. - Newtype
Component Id - Macro attribute
for deriving
ComponentIdtrait.
Structs§
- Arena
- Unordered container with random access.
- Arena
Items - A (mostly read-only) inner container holding
Arenaitems. WhileArenaitself 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::tokenfunction. - Id
Arenaitem handle.
Traits§
- Component
- An implementer of the
Componenttrait is a type, whose values can be placed intoArenacontainer. - Component
Class - An utility trait describing a specific component type.
- Component
Id - An implementer of the
ComponentIdtrait is a type behaves asId.
Type Aliases§
- RawId
- Non-generic, FFI-friendly
ComponentIdrepresentaion.