#[repr(u32)]
pub enum JSTypedArrayType {
Int8Array,
Int16Array,
Int32Array,
Uint8Array,
Uint8ClampedArray,
Uint16Array,
Uint32Array,
Float32Array,
Float64Array,
ArrayBuffer,
None,
}Expand description
A constant identifying the Typed Array type of a JSObjectRef.
Variants§
Int8Array
Int8Array
Int16Array
Int16Array
Int32Array
Int32Array
Uint8Array
Uint8Array
Uint8ClampedArray
Uint8ClampedArray
Uint16Array
Uint16Array
Uint32Array
Uint32Array
Float32Array
Float32Array
Float64Array
Float64Array
ArrayBuffer
ArrayBuffer
None
Not a Typed Array
Trait Implementations§
source§impl Clone for JSTypedArrayType
impl Clone for JSTypedArrayType
source§fn clone(&self) -> JSTypedArrayType
fn clone(&self) -> JSTypedArrayType
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 JSTypedArrayType
impl Debug for JSTypedArrayType
source§impl Hash for JSTypedArrayType
impl Hash for JSTypedArrayType
source§impl PartialEq<JSTypedArrayType> for JSTypedArrayType
impl PartialEq<JSTypedArrayType> for JSTypedArrayType
source§fn eq(&self, other: &JSTypedArrayType) -> bool
fn eq(&self, other: &JSTypedArrayType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.