pub type napi_async_execute_callback = Option<unsafe extern "C" fn(env: napi_env, data: *mut c_void)>;

Aliased Type§

enum napi_async_execute_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut napi_env__, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut napi_env__, _: *mut c_void))

Some value of type T.