#[repr(u32)]pub enum napi_valuetype {
napi_undefined = 0,
napi_null = 1,
napi_boolean = 2,
napi_number = 3,
napi_string = 4,
napi_symbol = 5,
napi_object = 6,
napi_function = 7,
napi_external = 8,
napi_bigint = 9,
}
Variants§
napi_undefined = 0
napi_null = 1
napi_boolean = 2
napi_number = 3
napi_string = 4
napi_symbol = 5
napi_object = 6
napi_function = 7
napi_external = 8
napi_bigint = 9
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 · Source§const fn clone_from(&mut self, source: &Self)
const 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§
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