Struct napi::bindgen_prelude::WeakReference
source · pub struct WeakReference<T: 'static> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<T> Clone for WeakReference<T>
impl<T> Clone for WeakReference<T>
source§impl<T: 'static> ToNapiValue for WeakReference<T>
impl<T: 'static> ToNapiValue for WeakReference<T>
source§unsafe fn to_napi_value(env: napi_env, val: Self) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: Self) -> Result<napi_value>
Safety Read more