Expand description
Macros for deriving ECS traits.
Derive Macrosยง
- Bundle
- Implement the
Bundletrait. - Component
- Implement the
Componenttrait. - Entity
Event - Implement the
EntityEventtrait. - Event
- Implement the
Eventtrait. - From
Template - Derives
FromTemplate. - 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. - Settings
Group - Implement
SettingsGroup. - System
Param - Implement
SystemParamto use a struct as a parameter in a system. - System
Set - Derive macro generating an impl of the trait
SystemSet.