Crate cxx_gen

Source
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§

Enums§

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 {}.