Struct napi_h::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
Auto Trait Implementations§
impl<T> Freeze for WeakReference<T>
impl<T> !RefUnwindSafe for WeakReference<T>
impl<T> !Send for WeakReference<T>
impl<T> !Sync for WeakReference<T>
impl<T> Unpin for WeakReference<T>
impl<T> !UnwindSafe for WeakReference<T>
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