pub trait IntoNativeFn<Args> {
// Required method
fn into_native(self) -> NativeFn;
}Expand description
Wraps a typed Rust function into a NativeFn with automatic arity checking
and argument extraction. Implemented by macro for 0–10 arguments.