1 #[cxx::bridge] 2 mod ffi { 3 unsafe extern "C++" { 4 type One; 5 type Two; f(&mut self)6 fn f(&mut self); 7 } 8 9 extern "Rust" { f(self: &Self)10 fn f(self: &Self); 11 } 12 } 13 main()14 fn main() {} 15