[][src]Struct nj_core::sys::napi_module

#[repr(C)]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: i32nm_flags: u32nm_filename: *const i8nm_register_func: Option<unsafe extern "C" fn(*mut napi_env__, *mut napi_value__) -> *mut napi_value__>nm_modname: *const i8nm_priv: *mut c_voidreserved: [*mut c_void; 4]

Trait Implementations

impl Clone for napi_module[src]

impl Copy for napi_module[src]

impl Debug for napi_module[src]

impl Sync for napi_module[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.