Enum nodex_api::NapiTypedarrayType
source · #[repr(u32)]pub enum NapiTypedarrayType {
Int8Array = 0,
Uint8Array = 1,
Uint8ClampedArray = 2,
Int16Array = 3,
Uint16Array = 4,
Int32Array = 5,
Uint32Array = 6,
Float32Array = 7,
Float64Array = 8,
Bigint64Array = 9,
Biguint64Array = 10,
}
Expand description
napi_typedarray_type
Variants§
Int8Array = 0
Uint8Array = 1
Uint8ClampedArray = 2
Int16Array = 3
Uint16Array = 4
Int32Array = 5
Uint32Array = 6
Float32Array = 7
Float64Array = 8
Bigint64Array = 9
Biguint64Array = 10
Trait Implementations§
source§impl Clone for NapiTypedarrayType
impl Clone for NapiTypedarrayType
source§fn clone(&self) -> NapiTypedarrayType
fn clone(&self) -> NapiTypedarrayType
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 NapiTypedarrayType
impl Debug for NapiTypedarrayType
source§impl PartialEq for NapiTypedarrayType
impl PartialEq for NapiTypedarrayType
source§fn eq(&self, other: &NapiTypedarrayType) -> bool
fn eq(&self, other: &NapiTypedarrayType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NapiTypedarrayType
impl Eq for NapiTypedarrayType
impl StructuralEq for NapiTypedarrayType
impl StructuralPartialEq for NapiTypedarrayType
Auto Trait Implementations§
impl RefUnwindSafe for NapiTypedarrayType
impl Send for NapiTypedarrayType
impl Sync for NapiTypedarrayType
impl Unpin for NapiTypedarrayType
impl UnwindSafe for NapiTypedarrayType
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