autocxx

Module extern_rust

Source
Expand description

Tools to export Rust code to C++.

Attribute Macrosยง

  • Declare that a given function is a Rust function which is to be exported to C++. This is used as an attribute macro on a Rust function, for instance:
  • Declare that this is a Rust type which is to be exported to C++. You can use this in two ways: