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 requires all trait functions to take `self`, `&self` or `&mut self` as the first argument
  --> tests_error/error_no_receiver_arg.rs:3:5
   |
3  |     fn selfless();
   |     ^^
...
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)