1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
nodyn::nodyn! { #[derive(Debug)] pub enum Foo<'a> { I64, Str<'a>, F64, u32, } } #[derive(Debug)] pub struct I64(pub i64); #[derive(Debug)] pub struct Str<'a>(pub &'a str); #[derive(Debug)] pub struct F64(pub f64); fn main() {}