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
11
struct A;

struct B;

#[enum_delegate::implement(Foo)]
enum AllFoos {
    A(A),
    B(B),
}

fn main() {}