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
use enum_helper::EnumStr;

#[derive(EnumStr, PartialEq, Eq)]
#[enum_str(no_parsing)]
enum NoErrorStruct {
    Alpha,
}

fn main() {
    let _ = InvalidNoErrorStruct::new("test");
}