enum_array 0.1.0

A small crate adding a macro that creates a constant array containing all the items of the enum
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
A small crate adding a macro that creates a constant array containing all the items of the enum.
usage example:
```rust
enum_array!{
    #[derive(Debug, PartialEq, Eq)]
    pub enum Example {
        A,
        B,
    }
}
assert_eq!(Example::ENTRIES, [Example::A, Example::B])
```