Expand description
Tools to export Rust code to C++.
Attribute Macrosยง
- extern_
rust_ function - 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:
- extern_
rust_ type - Declare that this is a Rust type which is to be exported to C++. You can use this in two ways: