paholg/subenum

Possible to derive only for subenum?

smeenai opened this issue · 0 comments

Thanks a lot for the crate! It's perfect for a use case I have.

Is it possible to derive a trait only for particular subenums? E.g. if I have a subenum that's trivial, and I want to implement Copy for that subenum but not the parent enum. It's easy enough to implement Copy and Clone manually for this case, so it's not a big issue, just a small nice-to-have.