yeah, but fortunately strum exists.
I have found it quite useful to be able to generate a dedicated SomeEnumDiscriminants enum for SomeEnum, using the following derive:
https://docs.rs/strum/latest/strum/derive.EnumDiscriminants....