Move EnumVariantsNames into a trait which the macro implements #74
I ran into a case where I had to accept a generic parameter of any enum type that has the
Peternator7 left a comment
Thanks for this PR! This is a breaking change, but I generally prefer methods to be attached to traits so I'm happy to change it.
There's a few small changes, but it otherwise looks great!