Module rusty_bind_parser::cpp
source · Re-exports
pub use generator::generate_cpp_file;
pub use templates::exception_class_name;
Modules
Structs
Functions
- Translates rust enum into its cpp equivalents. For rust enums with unit variants only a c++ enum class representation is generated. For complex enums it generates a struct (tagged union) that has a tag which is c++ enum class and payload which is union of all possible variants.