Expand description
Macros for deriving ECS traits.
Derive Macrosยง
- Bundle
- Implement the
Bundle
trait. - Component
- Cheat sheet for derive syntax,
see full explanation and examples on the
Component
trait doc. - Entity
Event - Cheat sheet for derive syntax,
see full explanation on
EntityEvent
trait docs. - Event
- Implement the
Event
trait. - From
World - Implement the
FromWorld
trait. - MapEntities
- Implement the
MapEntities
trait. - Message
- Implement the
Message
trait. - Query
Data - Implement
QueryData
to use a struct as a data parameter in a query - Query
Filter - Implement
QueryFilter
to use a struct as a filter parameter in a query - Resource
- Implement the
Resource
trait. - Schedule
Label - Derive macro generating an impl of the trait
ScheduleLabel
. - System
Param - Implement
SystemParam
to use a struct as a parameter in a system - System
Set - Derive macro generating an impl of the trait
SystemSet
.