enum-helper 0.1.0

Yet another enum helper. Macros that generate common boilerplate for enums.
Documentation
1
2
3
4
5
6
7
8
9
use enum_helper::EnumAll;

#[derive(EnumAll, Clone, Copy, PartialEq, Eq)]
enum Foo {
    Bar(usize),
    Baz { x: usize },
}

fn main() {}