feat: implement enum variant descirminatns

Thanks for this awsome library, it makes codegen much simpler than doing this by hand 😉

This PR adds enum variant discriminat (e.g. Foo = 1,) support

The following can now get codegen-ed

#[repr(u8)]
enum IpAddrKind {
    V4 = 4,
    V6 = 6,
}

Resolves

Merge request reports

Loading