Struct napi_h::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
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