rustmax

Module cxx_build

Source
Expand description

C++ bridge generator; paired with cxx.

See crate ::cxx.

Modules§

  • The Rust core allocation and collections library
  • The Rust Core Library
  • Marker types identifying Rust’s knowledge about an extern C++ type.
  • Less used details of UniquePtr and SharedPtr.
  • The Rust Standard Library
  • Less used details of CxxVector.

Macros§

Structs§

  • Binding to C++ std::string.
  • Binding to C++ std::vector<T, std::allocator<T>>.
  • Exception thrown from an extern "C++" function.
  • Binding to C++ std::shared_ptr<T>.
  • Binding to C++ std::unique_ptr<T, std::default_delete<T>>.
  • Binding to C++ std::weak_ptr<T>.

Traits§

  • A type for which the layout is determined by its C++ definition.

Type Aliases§

Attribute Macros§

  • #[cxx::bridge] mod ffi { ... }