enumeration 1.0.2

An extension to rust enum
Documentation
1
2
3
4
5
6
7
8

Provides extension to rust enum

This crate provides `Enumeration` trait for rust `enum` with the following features 
- implementation for common traits (Clone, Copy, Hash, etc.)
- getting number of variants through constant `Enumeration::VARIANT_COUNT`
- casting between index (of type `Enumeration::Index`) and enumeration
- attaching a constant value to each of the variants