#[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 copy of the value. Read more
1.0.0 · 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 NapiValuetype
impl Debug for NapiValuetype
Source§impl PartialEq for NapiValuetype
impl PartialEq for NapiValuetype
impl Copy for NapiValuetype
impl Eq for NapiValuetype
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 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