[][src]Struct stdweb::Array

pub struct Array(_);

A type representing a JavaScript array.

Methods

impl Array[src]

pub fn len(&self) -> usize[src]

Returns the number of elements in this particular array.

Trait Implementations

impl JsSerialize for Array[src]

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

type Error = Void

The type returned in the event of a conversion error.

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

type Error = Void

The type returned in the event of a conversion error.

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

type Error = Void

The type returned in the event of a conversion error.

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

type Error = Void

The type returned in the event of a conversion error.

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

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Array> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for Array[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for Array[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

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

type Error = ConversionError

The type returned in the event of a conversion error.

impl InstanceOf for Array[src]

impl ReferenceType for Array[src]

impl AsRef<Reference> for Array[src]

impl From<Array> for Reference[src]

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

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

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

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

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

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

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

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

impl Clone for Array[src]

impl Eq for Array[src]

impl PartialEq<Array> for Array[src]

impl Debug for Array[src]

Auto Trait Implementations

impl Send for Array

impl Sync for Array

impl Unpin for Array

impl UnwindSafe for Array

impl RefUnwindSafe for Array

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]