[][src]Struct boa::syntax::ast::node::array::ArrayDecl

pub struct ArrayDecl { /* fields omitted */ }

An array is an ordered collection of data (either primitive or object depending upon the language).

Arrays are used to store multiple values in a single variable. This is compared to a variable that can store only one value.

Each item in an array has a number attached to it, called a numeric index, that allows you to access it. In JavaScript, arrays start at index zero and can be manipulated with various methods.

More information:

Trait Implementations

impl AsRef<[Node]> for ArrayDecl[src]

impl Clone for ArrayDecl[src]

impl Debug for ArrayDecl[src]

impl Display for ArrayDecl[src]

impl Drop for ArrayDecl[src]

impl Executable for ArrayDecl[src]

impl Finalize for ArrayDecl[src]

impl From<ArrayDecl> for Node[src]

impl<T> From<T> for ArrayDecl where
    T: Into<Box<[Node]>>, 
[src]

impl PartialEq<ArrayDecl> for ArrayDecl[src]

impl StructuralPartialEq for ArrayDecl[src]

impl Trace for ArrayDecl[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> NativeObject for T where
    T: Any + Debug + Trace
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,