Expand description
Types for declaring and storing Components.
Structs§
- Component
Descriptor - A value describing a component or resource, which may or may not correspond to a Rust type.
- Component
Hooks World-mutating functions that run as part of lifecycle events of aComponent.- Component
Id - A value which uniquely identifies the type of a
ComponentofResourcewithin aWorld. - Component
IdFor - A
SystemParamthat provides access to theComponentIdfor a specific component type. - Component
Info - Stores metadata for a type of component or resource stored in a specific
World. - Component
Ticks - Records when a component or resource was added and when it was last mutably dereferenced (or added).
- Components
- Stores metadata associated with each kind of
Componentin a givenWorld. - Tick
- A value that tracks when a system ran relative to other systems. This is used to power change detection.
- Tick
Cells - Interior-mutable access to the
Ticks for a single component or resource.
Enums§
- Storage
Type - The storage used for a specific component type.
Traits§
Type Aliases§
- Component
Hook - The type used for
Componentlifecycle hooks such ason_add,on_insertoron_remove