enum-helper 0.2.0

Yet another enum helper. Macros that generate common boilerplate for enums.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
error[E0277]: the trait bound `NoDefault: Default` is not satisfied
 --> tests/ui/enum_str_no_default_value.rs:5:10
  |
5 | #[derive(EnumStr)]
  |          ^^^^^^^ the trait `Default` is not implemented for `NoDefault`
  |
  = note: this error originates in the derive macro `EnumStr` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider annotating `NoDefault` with `#[derive(Default)]`
  |
3 + #[derive(Default)]
4 | struct NoDefault {}
  |