We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
FromVariant
ToVariant
Currently introspected enums do not easily convert to variants as they just expose their u32 representation.
u32
For instance this would be useful when storing enums in gsettings
gsettings
The text was updated successfully, but these errors were encountered:
Are those traits generated by the derive macro as well?
Sorry, something went wrong.
The variant derive macro can do that, yes
Successfully merging a pull request may close this issue.
Currently introspected enums do not easily convert to variants as they just expose their
u32
representation.For instance this would be useful when storing enums in
gsettings
The text was updated successfully, but these errors were encountered: