Struct napi_sys::napi_module
source · #[repr(C)]pub struct napi_module {
pub nm_version: c_int,
pub nm_flags: c_uint,
pub nm_filename: *const c_char,
pub nm_register_func: napi_addon_register_func,
pub nm_modname: *const c_char,
pub nm_priv: *mut c_void,
pub reserved: [*mut c_void; 4],
}
Fields§
§nm_version: c_int
§nm_flags: c_uint
§nm_filename: *const c_char
§nm_register_func: napi_addon_register_func
§nm_modname: *const c_char
§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 moreimpl Copy for napi_module
Auto Trait Implementations§
impl Freeze for napi_module
impl RefUnwindSafe for napi_module
impl !Send for napi_module
impl !Sync for napi_module
impl Unpin for napi_module
impl UnwindSafe for napi_module
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more