Skip to main content

Crate bevy_ecs_macros

Crate bevy_ecs_macros 

Source
Expand description

Macros for deriving ECS traits.

Derive Macrosยง

Bundle
Implement the Bundle trait.
Component
Implement the Component trait.
EntityEvent
Implement the EntityEvent trait.
Event
Implement the Event trait.
FromTemplate
Derives FromTemplate.
FromWorld
Implement the FromWorld trait.
MapEntities
Implement the MapEntities trait.
Message
Implement the Message trait.
QueryData
Implement QueryData to use a struct as a data parameter in a query.
QueryFilter
Implement QueryFilter to use a struct as a filter parameter in a query.
Resource
Implement the Resource trait.
ScheduleLabel
Derive macro generating an impl of the trait ScheduleLabel.
SettingsGroup
Implement SettingsGroup.
SystemParam
Implement SystemParam to use a struct as a parameter in a system.
SystemSet
Derive macro generating an impl of the trait SystemSet.