Struct stdweb::web::ArrayBuffer [] [src]

pub struct ArrayBuffer(_);

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You cannot directly manipulate the contents of an ArrayBuffer; instead, you create an TypedArray to do it.

(JavaScript docs)

Methods

impl ArrayBuffer
[src]

[src]

Creates a new ArrayBuffer with the given length in bytes.

[src]

Returns the length of the buffer, in bytes.

Trait Implementations

impl Clone for ArrayBuffer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ArrayBuffer
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ArrayBuffer
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ArrayBuffer
[src]

impl InstanceOf for ArrayBuffer
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for ArrayBuffer
[src]

[src]

Performs the conversion.

impl ReferenceType for ArrayBuffer
[src]

[src]

Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more

impl TryFrom<Reference> for ArrayBuffer
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Reference> for ArrayBuffer
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for ArrayBuffer
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Value> for ArrayBuffer
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for ArrayBuffer
[src]