enum_variant_type
enum_variant_type copied to clipboard
Proc macro derive to generate structs from enum variants.
Results
2
enum_variant_type issues
Sort by
recently updated
recently updated
newest added
```rust #[derive(EnumVariantType)] enum Foo { | ^^ unused parameter | = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` ``` Seen...
Currently, the crate only creates a new types and provides conversion methods to the enum. I think it would be advantageous to convert even the struct variants to contain the...