Struct napi::bindgen_prelude::Symbol
source · pub struct Symbol { /* private fields */ }
Implementations§
Trait Implementations§
source§impl FromNapiValue for Symbol
impl FromNapiValue for Symbol
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 ToNapiValue for Symbol
impl ToNapiValue for Symbol
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
source§impl ValidateNapiValue for Symbol
impl ValidateNapiValue for Symbol
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