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