Expand description
Assorted proc macro derive functions.
Attribute Macros§
- bevy_
main - Generates the required main function boilerplate for Android.
Derive Macros§
- AppLabel
- Generates an impl of the
AppLabel
trait. - Deref
- Implements
Deref
for structs. This is especially useful when utilizing the newtype pattern. - Deref
Mut - Implements
DerefMut
for structs. This is especially useful when utilizing the newtype pattern. - Enum
Variant Meta - Adds
enum_variant_index
andenum_variant_name
functions to enums.