use parametrized::parametrized; #[parametrized(map)] pub enum E { E0(S), E1, } #[parametrized(map)] pub struct S(T); #[parametrized(map)] pub enum E1 { E1A(A), E1B(B), } #[parametrized(map)] pub enum E2 { E2A(E1), E2B(C), } #[parametrized(map)] pub enum E3 { E3A(E2), E3B, }