Skip to content
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

IsVariantAnd for enums #365

Open
RustyNova016 opened this issue May 29, 2024 · 1 comment
Open

IsVariantAnd for enums #365

RustyNova016 opened this issue May 29, 2024 · 1 comment

Comments

@RustyNova016
Copy link

Just like Option has is_some_and(), could we have a is_variant_and() derive?

I may try making a pull request, but I don't think I know enough to actually do everything

@JelteF
Copy link
Owner

JelteF commented Jul 2, 2024

Seems like a reasonable addition. Feel free to create a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants