It would be nice to be able to enumerate all enum variants.
Prost protobuf builder has an enum_attribute method which allows you to add a custom attribute to an enum. For example you can add #[derive(strum::EnumIter)] and then there will be an iter method.
It would be nice to be able to enumerate all enum variants.
Prost protobuf builder has an
enum_attributemethod which allows you to add a custom attribute to an enum. For example you can add#[derive(strum::EnumIter)]and then there will be anitermethod.