lang_func_adapter!() { /* proc-macro */ }
Expand description
This macro generates a boxed NativeFunctionAdapter instance for the given function identifier and metadata combination
The return type of this macro is (FunctionMetadata, Box<dyn NativeFunctionAdapter>, NativeFuncId)
This macro is used within the crate::lang_func! macro
ยงArguments
$func
- An identifier of a rust function or lambda$metadata
- The Lang function metadata (FunctionMetadata)