Expand description
Types for declaring and storing Component
s.
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
Component
ofResource
within aWorld
. - Component
IdFor - A
SystemParam
that provides access to theComponentId
for 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
Component
in 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
Tick
s 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
Component
lifecycle hooks such ason_add
,on_insert
oron_remove