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
given
enum Foo { Bar, }
I want to get
"FooBar"
so something like could work
#[strum_prefix] enum Foo { Bar, }
The text was updated successfully, but these errors were encountered:
This would be very helpful for replicating Python enums, which display as Foo.Bar for the above scenario.
Foo.Bar
Sorry, something went wrong.
Looks like #296 may solve your use case
This should be solved like @cayman-amzn suggested
No branches or pull requests
given
I want to get
so something like could work
The text was updated successfully, but these errors were encountered: