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
It would be nice to have a derive macro that is similar to IsVariant and Unwrap but that turns an enum into an Option<T> (where T is the data of that variant).
The text was updated successfully, but these errors were encountered:
It would be nice to have a derive macro that is similar to
IsVariant
andUnwrap
but that turns an enum into anOption<T>
(whereT
is the data of that variant).The text was updated successfully, but these errors were encountered: