Struct node_bindgen::core::sys::napi_module
source · pub struct napi_module {
pub nm_version: i32,
pub nm_flags: u32,
pub nm_filename: *const i8,
pub nm_register_func: Option<unsafe extern "C" fn(_: *mut napi_env__, _: *mut napi_value__) -> *mut napi_value__>,
pub nm_modname: *const i8,
pub nm_priv: *mut c_void,
pub reserved: [*mut c_void; 4],
}Fields§
§nm_version: i32§nm_flags: u32§nm_filename: *const i8§nm_register_func: Option<unsafe extern "C" fn(_: *mut napi_env__, _: *mut napi_value__) -> *mut napi_value__>§nm_modname: *const i8§nm_priv: *mut c_void§reserved: [*mut c_void; 4]Trait Implementations§
source§impl Clone for napi_module
impl Clone for napi_module
source§fn clone(&self) -> napi_module
fn clone(&self) -> napi_module
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