Struct napi::bindgen_prelude::ClassInstance
source · pub struct ClassInstance<T: 'static> {
pub value: napi_value,
/* private fields */
}
Fields§
§value: napi_value
Implementations§
Trait Implementations§
source§impl<T: 'static> AsMut<T> for ClassInstance<T>
impl<T: 'static> AsMut<T> for ClassInstance<T>
source§impl<T: 'static> AsRef<T> for ClassInstance<T>
impl<T: 'static> AsRef<T> for ClassInstance<T>
source§impl<T: 'static> Deref for ClassInstance<T>
impl<T: 'static> Deref for ClassInstance<T>
source§impl<T: 'static> DerefMut for ClassInstance<T>
impl<T: 'static> DerefMut for ClassInstance<T>
source§impl<T: 'static> FromNapiValue for ClassInstance<T>
impl<T: 'static> FromNapiValue for ClassInstance<T>
source§unsafe 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>
source§impl<T: 'static> NapiRaw for ClassInstance<T>
impl<T: 'static> NapiRaw for ClassInstance<T>
unsafe fn raw(&self) -> napi_value
source§impl<T: 'static> ValidateNapiValue for ClassInstance<T>where
&'static T: ValidateNapiValue,
impl<T: 'static> ValidateNapiValue for ClassInstance<T>where
&'static T: ValidateNapiValue,
source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more