#[repr(u32)]pub enum NapiValuetype {
Undefined = 0,
Null = 1,
Boolean = 2,
Number = 3,
String = 4,
Symbol = 5,
Object = 6,
Function = 7,
External = 8,
Bigint = 9,
}Expand description
napi_valuetype
Variants§
Undefined = 0
Null = 1
Boolean = 2
Number = 3
String = 4
Symbol = 5
Object = 6
Function = 7
External = 8
Bigint = 9
Trait Implementations§
Source§impl Clone for NapiValuetype
impl Clone for NapiValuetype
Source§fn clone(&self) -> NapiValuetype
fn clone(&self) -> NapiValuetype
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 moreimpl Copy for NapiValuetype
Source§impl Debug for NapiValuetype
impl Debug for NapiValuetype
impl Eq for NapiValuetype
Source§impl PartialEq for NapiValuetype
impl PartialEq for NapiValuetype
Source§fn eq(&self, other: &NapiValuetype) -> bool
fn eq(&self, other: &NapiValuetype) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NapiValuetype
Auto Trait Implementations§
impl Freeze for NapiValuetype
impl RefUnwindSafe for NapiValuetype
impl Send for NapiValuetype
impl Sync for NapiValuetype
impl Unpin for NapiValuetype
impl UnsafeUnpin for NapiValuetype
impl UnwindSafe for NapiValuetype
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