Trait js::typedarray::TypedArrayElementCreator [] [src]

pub trait TypedArrayElementCreator: TypedArrayElement {
    unsafe fn create_new(cx: *mut JSContext, length: u32) -> *mut JSObject;
unsafe fn get_data(obj: *mut JSObject) -> *mut Self::Element; }

Internal trait for creating new typed arrays.

Required Methods

Create a new typed array.

Get the data.

Implementors