Hi, i'm developing a mod for a game and i need to be able to access cpp classes from Rust.
I only need to define the types, not actual implementations as they are not statically linked and instead resolved dynamically.
Initially i looked into cxx and autocxx but i believe none are able to do this.
Is there any crate for this?
Note: I have started work on cpp header parser that simply generates rust structs and virtual methods along with type definitions of non-virtual ones, but this has proven very difficult due to the complexity of cpp object layout.
autocxx — safe interop between Rust and existing C++