Crate uniffi_macros
source ·Expand description
Macros for uniffi
.
Modules
Macros
- A macro to build testcases for a component’s generated bindings.
- Generate the
FfiConverter
and theUniffiCustomTypeConverter
implementations for a Custom Type - ie, for a<T>
which implementsUniffiCustomTypeConverter
via the newtype idiom. - Generate the
FfiConverter
implementation for a Custom Type - ie, for a<T>
which implementsUniffiCustomTypeConverter
. - A helper macro to include generated component scaffolding.
- Top-level initialization macro
Structs
Functions
Attribute Macros
- An attribute for constructors.
- An attribute for methods.