use api_proc_macro::IntoCommandDefinition; #[derive(IntoCommandDefinition)] #[repr(C)] union TestUnion { f1: u32, f2: f32, } fn main() { }