enum_data_proc 0.1.0

a proc-macro,Add bit operations and arithmetic operations to enum
Documentation
# enum_data_proc

Add bit operations and arithmetic operations to enum

# example


```rust
use enum_data_proc::*;

#[repr(u32)]

#[derive(BitOp,ArithOp)]

enum A{
    a=7,b,c,d,e,f,
}

fn main() {
    println!("{:?}",[
        A::a+1,
        A::b<<1,
        1&A::c,
        A::d|A::d,
        A::e%2,
        2*A::f]
    );
}

```