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
Currently AsRefStr returns the variant names. Even when we have a default variant.
This is kind of weird. in some cases. It would be nice to have an option to return the default variant value.
I know this option would mean it would no longer return a static str. However, in some cases it would be more useful.
So I am suggesting either a new Macro like AsRefStrWithDefault or have an attribute parameter to use the default value.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently AsRefStr returns the variant names. Even when we have a default variant.
This is kind of weird. in some cases. It would be nice to have an option to return the default variant value.
I know this option would mean it would no longer return a static str. However, in some cases it would be more useful.
So I am suggesting either a new Macro like AsRefStrWithDefault or have an attribute parameter to use the default value.
The text was updated successfully, but these errors were encountered: