polymorphic_enum 0.1.5

Automatically wrap enum variant data in a struct. Implement a given trait for the enum that delegates to the structs. Also implement From and To to convert between the enum and the structs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[package]
name = "polymorphic_enum"
version = "0.1.5"
edition = "2021"
license = "LGPL-3.0"
description = "Automatically wrap enum variant data in a struct. Implement a given trait for the enum that delegates to the structs. Also implement From and To to convert between the enum and the structs."

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
proc-macro = true

[dependencies]
quote = "1.0.33"
syn = { version = "2.0.29", features = ["full", "extra-traits"] }