Modules§
- alloc
- The Rust core allocation and collections library
- core
- The Rust Core Library
- kind
- Marker types identifying Rust’s knowledge about an extern C++ type.
- memory
- Less used details of
UniquePtr
andSharedPtr
. - std
- The Rust Standard Library
- vector
- Less used details of
CxxVector
.
Macros§
- let_
cxx_ string - Construct a C++ std::string on the Rust stack.
- type_id
- For use in impls of the
ExternType
trait. SeeExternType
.
Structs§
- CxxString
- Binding to C++
std::string
. - CxxVector
- Binding to C++
std::vector<T, std::allocator<T>>
. - Exception
- Exception thrown from an
extern "C++"
function. - Shared
Ptr - Binding to C++
std::shared_ptr<T>
. - Unique
Ptr - Binding to C++
std::unique_ptr<T, std::default_delete<T>>
. - WeakPtr
- Binding to C++
std::weak_ptr<T>
.
Traits§
- Extern
Type - A type for which the layout is determined by its C++ definition.
Type Aliases§
Attribute Macros§
- bridge
#[cxx::bridge] mod ffi { ... }