Crate uniffi_macros
source ·Expand description
Macros for uniffi.
Macros§
- A macro to build testcases for a component’s generated bindings.
- Generate the
FfiConverterand theUniffiCustomTypeConverterimplementations for a Custom Type - ie, for a<T>which implementsUniffiCustomTypeConvertervia the newtype idiom. - Generate the
FfiConverterimplementation for a Custom Type - ie, for a<T>which implementsUniffiCustomTypeConverter. - A helper macro to include generated component scaffolding.
- Top-level initialization macro
Attribute Macros§
- An attribute for constructors.
- An attribute for methods.