Expand description
The CXX code generator for constructing and compiling C++ code.
This is intended as a mechanism for embedding the cxx
crate into
higher-level code generators. See dtolnay/cxx#235 and
https://github.com/google/autocxx.
Structs§
- Results of code generation.
- A header to #include.
- Options for C++ code generation.
Enums§
- Result of a
CfgEvaluator
evaluation. - Whether to emit
#include "path"
or#include <path>
.
Statics§
- The complete contents of the “rust/cxx.h” header.
Traits§
- Logic to decide whether a conditional compilation attribute is enabled or disabled.
Functions§
- Generate C++ bindings code from a Rust token stream. This should be a Rust token stream which somewhere contains a
#[cxx::bridge] mod {}
.