Skip to content

Also support ToPrimitive #4

Description

@daschl

Hi!

I think adding ToPrimitive implementations would be a great benefit. Very often I need to convert to and from an enum with primitives. Do you think you can also add this implementation? Otherwise right now I can use your macro but then need to go implement ToPrimitive on my own :)

I'm new to rust and macro programming, so I don't know if I can pull it off easily. Let me know what you think!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions