#[repr(C)]
pub struct CallbackInfo { pub env: napi_env, pub cb: napi_callback, pub cb_info: napi_callback_info, pub args: *const c_void, }

Fields

env: napi_envcb: napi_callbackcb_info: napi_callback_infoargs: *const c_void

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.