Enum napi::bindgen_prelude::TypedArrayType
source · [−]#[repr(i32)]
#[non_exhaustive]
pub enum TypedArrayType {
Int8,
Uint8,
Uint8Clamped,
Int16,
Uint16,
Int32,
Uint32,
Float32,
Float64,
BigInt64,
BigUint64,
Unknown,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Int8
Uint8
Uint8Clamped
Int16
Uint16
Int32
Uint32
Float32
Float64
BigInt64
BigUint64
Unknown
compatible with higher versions
Trait Implementations
sourceimpl Clone for TypedArrayType
impl Clone for TypedArrayType
sourcefn clone(&self) -> TypedArrayType
fn clone(&self) -> TypedArrayType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TypedArrayType
impl Debug for TypedArrayType
sourceimpl From<TypedArrayType> for napi_typedarray_type
impl From<TypedArrayType> for napi_typedarray_type
sourcefn from(value: TypedArrayType) -> napi_typedarray_type
fn from(value: TypedArrayType) -> napi_typedarray_type
Converts to this type from the input type.
sourceimpl From<i32> for TypedArrayType
impl From<i32> for TypedArrayType
sourcefn from(value: napi_typedarray_type) -> Self
fn from(value: napi_typedarray_type) -> Self
Converts to this type from the input type.
sourceimpl Hash for TypedArrayType
impl Hash for TypedArrayType
sourceimpl PartialEq<TypedArrayType> for TypedArrayType
impl PartialEq<TypedArrayType> for TypedArrayType
impl Copy for TypedArrayType
impl Eq for TypedArrayType
impl StructuralEq for TypedArrayType
impl StructuralPartialEq for TypedArrayType
Auto Trait Implementations
impl RefUnwindSafe for TypedArrayType
impl Send for TypedArrayType
impl Sync for TypedArrayType
impl Unpin for TypedArrayType
impl UnwindSafe for TypedArrayType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more