-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
#[derive(Reflect)]
on enum that wraps another enum does not work
#6783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You need to derive |
This should be documented on the Reflect trait via a doc test :) |
It's required because of |
Should we close this out and open a new issue for the documentation on |
Yes please. Ping me when you've made one and I'll do so. |
@alice-i-cecile created #6985 |
Bevy version
Tried:
0.9
and523072902cecad440b5d2109077e437fcb7580b6
What you did
Deriving
Reflect
on a simple enum works:But deriving
Reflect
on anenum
that wraps another enum does not:The text was updated successfully, but these errors were encountered: