hawkw/mycelium

bitfield: derive `FromBits` for `repr(uN)` enums

hawkw opened this issue · 1 comments

hawkw commented

This would be nice. We could just test each variant as uN against the input, so it should be trivial to autogenerate.

hawkw commented

on the other hand i had wanted to do the bitfield crate without any proc macros (mostly for masochism-related reasons)...