Crate components_arena
source ·Expand description
§Feature flags
nightly(enabled by default) — disable to make the library compatible with stable and beta Rust channels.
Macros§
- Macro attribute for deriving
Componenttrait. - Macro attribute for deriving
ComponentIdtrait.
Structs§
- Unordered container with random access.
- An iterator over all items ids.
- An iterator over all items ids.
- An iterator over all items combined with their ids.
- An iterator over all items.
- An iterator over all items combined with their ids.
- A mutable iterator over all items combined with their ids.
- An iterator over all items.
- A mutable iterator over all items.
- Component class static shared data. The return type of the
ComponentClass::tokenfunction. Arenaitem handle.
Traits§
- An implementer of the
Componenttrait is a type, whose values can be placed intoArenacontainer. - An utility trait describing a specific component type.
- An implementer of the
ComponentIdtrait is a type behaves asId.
Type Aliases§
- Non-generic, FFI-friendly
ComponentIdrepresentaion.