[][src]Crate components_arena

Crate features

  • "std" Enabled by default. Disable to make the library #![no_std].
  • "nightly" Enabled by default. Disable to make the library compatible with stable and beta Rust channels.

Macros

Component

Macro attribute for deriving Component trait.

ComponentId

Macro attribute for deriving ComponentId trait.

Structs

Arena

Unordered container with random access.

ComponentClassLock

The return type of the ComponentClass::lock function.

ComponentClassMutex

Helps to store ComponentClassToken in a static.

ComponentClassToken

Component class static shared data.

Id

Arena item handle.

Traits

Component

An implementer of the Component trait is a type, whose values can be placed into Arena container.

ComponentClass

An utility trait describing a specific component type.

ComponentId

An implementer of the ComponentId trait is a type behaves as Id.

Type Definitions

RawId

Non-generic, FFI-friendly ComponentId representaion.