Module gecs::traits

source ·
Expand description

Traits for working with ECS types as generics.

Traits

  • A trait describing each archetype in a given ECS world.
  • A trait promising that an archetype has a given component.
  • A View is a reference to a specific entity’s components within an archetype.
  • A trait promising that an entity view has a given component.
  • The base trait for an ECS world in gecs.
  • A trait promising that an ECS world has the given archetype.