Struct napi::bindgen_prelude::ClassInstance
source · [−]pub struct ClassInstance<T: 'static> {
pub value: napi_value,
/* private fields */
}
Fields
value: napi_value
Trait Implementations
sourceimpl<T: 'static> AsMut<T> for ClassInstance<T>
impl<T: 'static> AsMut<T> for ClassInstance<T>
sourceimpl<T: 'static> AsRef<T> for ClassInstance<T>
impl<T: 'static> AsRef<T> for ClassInstance<T>
sourceimpl<T: 'static> Deref for ClassInstance<T>
impl<T: 'static> Deref for ClassInstance<T>
sourceimpl<T: 'static> DerefMut for ClassInstance<T>
impl<T: 'static> DerefMut for ClassInstance<T>
sourceimpl<T: 'static> FromNapiValue for ClassInstance<T>
impl<T: 'static> FromNapiValue for ClassInstance<T>
sourceunsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self>
sourceimpl<T: 'static> NapiRaw for ClassInstance<T>
impl<T: 'static> NapiRaw for ClassInstance<T>
unsafe fn raw(&self) -> napi_value
Auto Trait Implementations
impl<T> RefUnwindSafe for ClassInstance<T> where
T: RefUnwindSafe,
impl<T> !Send for ClassInstance<T>
impl<T> !Sync for ClassInstance<T>
impl<T> Unpin for ClassInstance<T>
impl<T> !UnwindSafe for ClassInstance<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more