#[repr(C)]pub struct EnvShared {
pub instance_data: *mut c_void,
pub data_finalize: Option<napi_finalize>,
pub data_finalize_hint: *mut c_void,
pub napi_wrap: Global<Private>,
pub finalize: Option<napi_finalize>,
pub finalize_hint: *mut c_void,
pub filename: *const c_char,
}
Expand description
Env that is shared between all contexts in same native module.
Fields§
§instance_data: *mut c_void
§data_finalize: Option<napi_finalize>
§data_finalize_hint: *mut c_void
§napi_wrap: Global<Private>
§finalize: Option<napi_finalize>
§finalize_hint: *mut c_void
§filename: *const c_char
Implementations§
Trait Implementations§
Auto Trait Implementations§
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