Derive Macro bevy::prelude::StageLabel
#[derive(StageLabel)]
{
// Attributes available to this derive:
#[stage_label]
}
Expand description
Generates an impl of the StageLabel
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 #[stage_label(ignore_fields)]
.