enum_delegate 0.2.0

Easily replace dynamic dispatch with an enum, for speed and serialization
Documentation
1
2
3
4
5
6
7
8
9
10
error: enum_delegate only supports methods and associated types in traits
  --> tests_error/unsupported_trait_item.rs:3:5
   |
3  |     const C: usize;
   |     ^^^^^
...
12 | #[enum_delegate::implement(Foo)]
   | -------------------------------- in this procedural macro expansion
   |
   = note: this error originates in the macro `Foo` which comes from the expansion of the attribute macro `enum_delegate::implement` (in Nightly builds, run with -Z macro-backtrace for more info)