Struct js::typedarray::Uint16
[−]
[src]
pub struct Uint16;
A kind of typed array.
Trait Implementations
impl TypedArrayElement for Uint16
[src]
type Element = u16
Underlying primitive representation of this element type.
unsafe fn unwrap_array(obj: *mut JSObject) -> *mut JSObject
[src]
Unwrap a typed array JS reflector for this element type.
unsafe fn length_and_data(obj: *mut JSObject) -> (*mut Self::Element, u32)
[src]
Retrieve the length and data of a typed array's buffer for this element type.