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