enumchar 0.1.2

Rust derive macro for enums where each variant is represented by a single char
Documentation
1
2
3
4
5
6
7
8
9
error[E0277]: the trait bound `char: From<E>` is not satisfied
  --> tests/errors/incomplete_from_char.rs:15:13
   |
15 |     let _ = char::from(E::Dot);
   |             ^^^^ the trait `From<E>` is not implemented for `char`
   |
   = help: the following other types implement trait `From<T>`:
             `char` implements `From<Char>`
             `char` implements `From<u8>`