#[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§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
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 UnwindSafe for napi_valuetype
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)