Support Into
/From
trait
#163
Labels
C-enhancement
Category: A new feature or an improvement for an existing one
Into
/From
trait
#163
Assuming all code paths implements the same
Into
/From
"destination" it could be nice to letauto_enums
generate those traits impls.This can, I think, theorically be done in the custom
derive
attribute, keeping existing functionality as they are.Where the generated code would look like
Oversimplified code but I think everyone reading this gets the idea.
Would you be open to a PR for this?
The text was updated successfully, but these errors were encountered: