Derive Macro bevy_ecs::schedule::RunCriteriaLabel
source · #[derive(RunCriteriaLabel)]
{
// Attributes available to this derive:
#[run_criteria_label]
}
Expand description
Generates an impl of the RunCriteriaLabel
trait.
This works only for unit structs, or enums with only unit variants.
You may force a struct or variant to behave as if it were fieldless with #[run_criteria_label(ignore_fields)]
.