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

impl Clone for Array[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl Send for Array

impl Sync for Array

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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