Implement Reflect traits for NonZero
numeric types
#6332
Labels
A-Reflection
Runtime information about types
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
I want to use these types in my code, but cannot impl
Reflect
due to orphan rules.What solution would you like?
Use the macro to impl this for all the numeric types in https://doc.rust-lang.org/stable/std/num/index.html.
What alternative(s) have you considered?
Write my own NonZeroU32 type :(
The text was updated successfully, but these errors were encountered: