enum_ext 0.6.0

procedural macro that enhances enums with additional methods and conversions
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: enum_ext only works on enums
 --> tests/ui/enum_ext_on_struct.rs:3:1
  |
3 | / enum_ext!(
4 | |     pub struct NotAnEnum {
5 | |         x: i32,
6 | |     }
7 | | );
  | |_^
  |
  = note: this error originates in the macro `enum_ext` (in Nightly builds, run with -Z macro-backtrace for more info)