Module autocxx::prelude

source ·
Expand description

Imports which you’re likely to want to use.

Re-exports

Macros

  • Include some C++ headers in your Rust project.
  • Performs an emplacement operation.

Structs

  • Binding to C++ std::unique_ptr<T, std::default_delete<T>>.

Traits

  • A pointer type that may be “emplaced” as a stable address which a New may be used to construct a value with.
  • An in-place constructor for a particular type.

Attribute Macros

  • Attribute which should never be encountered in real life. This is something which features in the Rust source code generated by autocxx-bindgen and passed to autocxx-engine, which should never normally be compiled by rustc before it undergoes further processing.