Struct napi::bindgen_prelude::SharedReference
source · pub struct SharedReference<T: 'static, S: 'static> { /* private fields */ }
Expand description
Experimental feature
Create a SharedReference
from an existed Reference
.
Implementations§
Trait Implementations§
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