Consider making some Entity
methods const
#5687
Labels
A-ECS
Entities, components, systems, and events
C-Feature
A new feature, making something new possible
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
What problem does this solve or what need does it fill?
Most methods on
Entity
can be madeconst
. This allows building compile-timeconstants, and more generally extend their use to a const context.
What solution would you like?
Make those methods
const
.What alternative(s) have you considered?
To have compile-time constants, there's none, by Rust design.
The text was updated successfully, but these errors were encountered: