#[repr(transparent)]pub struct napi_valuetype(pub c_uint);Available on crate feature
napi only.Tuple Fields§
§0: c_uintImplementations§
Source§impl napi_valuetype
impl napi_valuetype
pub const napi_undefined: napi_valuetype
pub const napi_null: napi_valuetype
pub const napi_boolean: napi_valuetype
pub const napi_number: napi_valuetype
pub const napi_string: napi_valuetype
pub const napi_symbol: napi_valuetype
pub const napi_object: napi_valuetype
pub const napi_function: napi_valuetype
pub const napi_external: napi_valuetype
pub const napi_bigint: napi_valuetype
Trait Implementations§
Source§impl Clone for napi_valuetype
impl Clone for napi_valuetype
Source§fn clone(&self) -> napi_valuetype
fn clone(&self) -> napi_valuetype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for napi_valuetype
impl Debug for napi_valuetype
Source§impl Hash for napi_valuetype
impl Hash for napi_valuetype
Source§impl PartialEq for napi_valuetype
impl PartialEq for napi_valuetype
Source§fn eq(&self, other: &napi_valuetype) -> bool
fn eq(&self, other: &napi_valuetype) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for napi_valuetype
impl Eq for napi_valuetype
impl StructuralPartialEq for napi_valuetype
Auto Trait Implementations§
impl Freeze for napi_valuetype
impl RefUnwindSafe for napi_valuetype
impl Send for napi_valuetype
impl Sync for napi_valuetype
impl Unpin for napi_valuetype
impl UnsafeUnpin for napi_valuetype
impl UnwindSafe for napi_valuetype
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