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
Component
trait.Macro attribute
for deriving
ComponentId
trait.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::token
function.Traits
An implementer of the
Component
trait is a type, whose values can be placed into
Arena
container.An utility trait describing a specific component type.
An implementer of the
ComponentId
trait is a type behaves as
Id
.Type Definitions
Non-generic, FFI-friendly
ComponentId
representaion.