Expand description
High-level, safe bindings for JS typed array APIs. Allows creating new typed arrays or wrapping existing JS reflectors, and prevents reinterpreting existing buffers as different types except in well-defined cases.
Structs§
- Array
Buffer U8  - A kind of typed array.
 - Array
Buffer View U8  - A kind of typed array.
 - Clamped
U8  - A kind of typed array.
 - Float32
 - A kind of typed array.
 - Float64
 - A kind of typed array.
 - Int8
 - A kind of typed array.
 - Int16
 - A kind of typed array.
 - Int32
 - A kind of typed array.
 - Typed
Array  - A typed array wrapper.
 - Uint8
 - A kind of typed array.
 - Uint16
 - A kind of typed array.
 - Uint32
 - A kind of typed array.
 
Enums§
Traits§
- JSObject
Storage  - Trait that specifies how pointers to wrapped objects are stored. It supports
two variants, one with bare pointer (to be rooted on stack using
CustomAutoRooter) and wrapped in a Box<Heap
>, which can be stored in a heap-allocated structure, to be rooted with JSTraceable-implementing tracers (currently implemented in Servo).  - Typed
Array Element  - Internal trait used to associate an element type with an underlying representation and various functions required to manipulate typed arrays of that element type.
 - Typed
Array Element Creator  - Internal trait for creating new typed arrays.
 
Type Aliases§
- Array
Buffer  - Array
Buffer View  - Float32
Array  - Float64
Array  - Heap
Array Buffer  - Heap
Array Buffer View  - Heap
Float32 Array  - Heap
Float64 Array  - Heap
Int8 Array  - Heap
Int16 Array  - Heap
Int32 Array  - Heap
Uint8 Array  - Heap
Uint8 Clamped Array  - Heap
Uint16 Array  - Heap
Uint32 Array  - Int8
Array  - Int16
Array  - Int32
Array  - Uint8
Array  - Uint8
Clamped Array  - Uint16
Array  - Uint32
Array