Expand description
Macros for deriving ECS traits.
Derive Macrosยง
- Bundle
- Implement the
Bundletrait. - Component
- Cheat sheet for derive syntax,
see full explanation and examples on the
Componenttrait doc. - Entity
Event - Cheat sheet for derive syntax,
see full explanation on
EntityEventtrait docs. - Event
- Implement the
Eventtrait. - From
World - Implement the
FromWorldtrait. - MapEntities
- Implement the
MapEntitiestrait. - Message
- Implement the
Messagetrait. - Query
Data - Implement
QueryDatato use a struct as a data parameter in a query - Query
Filter - Implement
QueryFilterto use a struct as a filter parameter in a query - Resource
- Implement the
Resourcetrait. - Schedule
Label - Derive macro generating an impl of the trait
ScheduleLabel. - System
Param - Implement
SystemParamto use a struct as a parameter in a system - System
Set - Derive macro generating an impl of the trait
SystemSet.