Struct napi::bindgen_prelude::Symbol
source · [−]pub struct Symbol { /* private fields */ }
Implementations
Trait Implementations
sourceimpl FromNapiValue for Symbol
impl FromNapiValue for Symbol
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
sourceimpl ToNapiValue for Symbol
impl ToNapiValue for Symbol
sourceunsafe 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
sourceimpl ValidateNapiValue for Symbol
impl ValidateNapiValue for Symbol
Auto Trait Implementations
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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