Crate uniffi_macros

Source
Expand description

Macros for uniffi.

Macros§

build_foreign_language_testcases
A macro to build testcases for a component’s generated bindings.
custom_newtype
Generate FFI code for a custom newtype
custom_type
Generate FFI code for a custom type
include_scaffolding
A helper macro to include generated component scaffolding.
setup_scaffolding
Top-level initialization macro
use_remote_type
Use the FFI trait implementations defined in another crate for a remote type

Attribute Macros§

constructor
An attribute for constructors.
export
method
An attribute for methods.

Derive Macros§

Enum
Error
Object
Record