Struct deno_napi::NapiModule
source · #[repr(C)]pub struct NapiModule {
pub nm_version: i32,
pub nm_flags: u32,
pub nm_register_func: extern "C" fn(env: napi_env, exports: napi_value<'_>) -> napi_value<'_>,
/* private fields */
}
Fields§
§nm_version: i32
§nm_flags: u32
§nm_register_func: extern "C" fn(env: napi_env, exports: napi_value<'_>) -> napi_value<'_>
Trait Implementations§
source§impl Clone for NapiModule
impl Clone for NapiModule
source§fn clone(&self) -> NapiModule
fn clone(&self) -> NapiModule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more