Open RustyNova016 opened 5 months ago
Just like Option has is_some_and(), could we have a is_variant_and() derive?
Option
is_some_and()
is_variant_and()
I may try making a pull request, but I don't think I know enough to actually do everything
Seems like a reasonable addition. Feel free to create a PR.
Just like
Option
hasis_some_and()
, could we have ais_variant_and()
derive?I may try making a pull request, but I don't think I know enough to actually do everything