enum-helper 0.3.0

Yet another enum helper. Macros that generate common boilerplate for enums.
Documentation
1
2
3
4
5
6
7
8
9
10
// `count(disable)` must not generate the `COUNT` const.
#[derive(enum_helper::EnumAll, PartialEq, Eq)]
#[enum_all(count(disable))]
enum Foo {
    Bar,
}

fn main() {
    let _ = Foo::COUNT;
}