Struct stdweb::web::TypedArray [] [src]

pub struct TypedArray<T: ArrayKind>(_, _);

JavaScript typed arrays are array-like objects and provide a mechanism for accessing raw binary data.

(JavaScript docs)

Methods

impl<T: ArrayKind> TypedArray<T>
[src]

[src]

Returns the TypedArray referenced by this typed array.

(JavaScript docs)

[src]

Returns the number of elements in the buffer.

(JavaScript docs)

[src]

Copies self into a new Vec.

Trait Implementations

impl<T> Debug for TypedArray<T> where
    T: ArrayKind, 
[src]

[src]

Formats the value using the given formatter.

impl<T> Clone for TypedArray<T> where
    T: ArrayKind, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> AsRef<Reference> for TypedArray<T> where
    T: ArrayKind, 
[src]

[src]

Performs the conversion.

impl<R: TryInto<Reference>, T> TryFrom<R> for TypedArray<T> where
    <R as TryInto<Reference>>::Error: Into<Box<Error>>,
    T: ArrayKind, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T: ArrayKind> From<&'a [T]> for TypedArray<T>
[src]

[src]

Performs the conversion.