Struct stdweb::Array [] [src]

pub struct Array(_);

A type representing a JavaScript array.

Methods

impl Array
[src]

[src]

Returns the number of elements in this particular array.

Trait Implementations

impl<T> TryFrom<Vec<T>> for Array where
    T: JsSerialize
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a Vec<T>> for Array where
    T: JsSerialize
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a mut Vec<T>> for Array where
    T: JsSerialize
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a [T]> for Array where
    T: JsSerialize
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, T> TryFrom<&'a mut [T]> for Array where
    T: JsSerialize
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl Clone for Array
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Array
[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 Array
[src]

impl Debug for Array
[src]

[src]

Formats the value using the given formatter. Read more

impl InstanceOf for Array
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for Array
[src]

[src]

Performs the conversion.

impl ReferenceType for Array
[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 From<Array> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Array> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for Array
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for Array
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for Array
[src]

impl From<Array> for Vec<Value>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a Array> for Vec<Value>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a mut Array> for Vec<Value>
[src]

[src]

Performs the conversion.

impl<V> From<Vec<V>> for Array where
    V: JsSerialize
[src]

[src]

Performs the conversion.

impl<'a, V> From<&'a Vec<V>> for Array where
    V: JsSerialize
[src]

[src]

Performs the conversion.

impl<'a, V> From<&'a mut Vec<V>> for Array where
    V: JsSerialize
[src]

[src]

Performs the conversion.

impl<'a, V> From<&'a [V]> for Array where
    V: JsSerialize
[src]

[src]

Performs the conversion.

impl<'a, V> From<&'a mut [V]> for Array where
    V: JsSerialize
[src]

[src]

Performs the conversion.

impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Array> for Vec<V>
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Array

impl Sync for Array