#[repr(u32)]pub enum JSTypedArrayType {
Show 13 variants
Int8Array = 0,
Int16Array = 1,
Int32Array = 2,
Uint8Array = 3,
Uint8ClampedArray = 4,
Uint16Array = 5,
Uint32Array = 6,
Float32Array = 7,
Float64Array = 8,
ArrayBuffer = 9,
None = 10,
BigInt64Array = 11,
BigUint64Array = 12,
}Expand description
A constant identifying the Typed Array type of a JSObjectRef.
Variants§
Int8Array = 0
Int8Array
Int16Array = 1
Int16Array
Int32Array = 2
Int32Array
Uint8Array = 3
Uint8Array
Uint8ClampedArray = 4
Uint8ClampedArray
Uint16Array = 5
Uint16Array
Uint32Array = 6
Uint32Array
Float32Array = 7
Float32Array
Float64Array = 8
Float64Array
ArrayBuffer = 9
ArrayBuffer
None = 10
Not a Typed Array
BigInt64Array = 11
BigInt64Array
BigUint64Array = 12
BigUint64Array
Trait Implementations§
Source§impl Clone for JSTypedArrayType
impl Clone for JSTypedArrayType
Source§fn clone(&self) -> JSTypedArrayType
fn clone(&self) -> JSTypedArrayType
Returns a duplicate 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 for JSTypedArrayType
impl PartialEq for JSTypedArrayType
impl Copy for JSTypedArrayType
impl Eq for JSTypedArrayType
impl StructuralPartialEq for JSTypedArrayType
Auto Trait Implementations§
impl Freeze for JSTypedArrayType
impl RefUnwindSafe for JSTypedArrayType
impl Send for JSTypedArrayType
impl Sync for JSTypedArrayType
impl Unpin for JSTypedArrayType
impl UnwindSafe for JSTypedArrayType
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