Crate externref_macro
source ·Expand description
Procedural macro for externref
.
This macro wraps imported or exported functions with Resource
args / return type
doing all heavy lifting to prepare these functions for usage with externref
s.
Note that it is necessary to post-process the module with the module processor provided
by the externref
crate.
See externref
docs for more details and examples of usage.
Attribute Macros§
- Prepares imported functions or an exported function with
Resource
args and/or return type.