Attribute Macro napi_derive::napi
source · #[napi]Expand description
ⓘ
#[napi]
fn test(ctx: CallContext, name: String) {
"hello" + name
}#[napi]#[napi]
fn test(ctx: CallContext, name: String) {
"hello" + name
}