You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might even submit a PR for this. It's a common pattern when using enums to implement MyEnum From<Variant> for each variant, and likewise it would even be nice to have the reverse, TryInto<Variant> for MyEnum.
Notably the enumerate crate does implement From, but it isn't as flexible, it can't be combined with attributes like derive.
The text was updated successfully, but these errors were encountered:
I might even submit a PR for this. It's a common pattern when using enums to implement MyEnum From<Variant> for each variant, and likewise it would even be nice to have the reverse, TryInto<Variant> for MyEnum.
Notably the enumerate crate does implement From, but it isn't as flexible, it can't be combined with attributes like derive.
The text was updated successfully, but these errors were encountered: