Struct lib_ruby_parser::nodes::Array[][src]

#[repr(C)]pub struct Array {
    pub elements: List<Node>,
    pub begin_l: MaybeLocPtr,
    pub end_l: MaybeLocPtr,
    pub expression_l: LocPtr,
}

Represents an array literal

Fields

elements: List<Node>

A list of elements

begin_l: MaybeLocPtr

Location of the open bracket

[1, 2, 3]
~
end_l: MaybeLocPtr

Location of the closing bracket

[1, 2, 3]
        ~
expression_l: LocPtr

Location of the full expression

[1, 2, 3]
~~~~~~~~~

Trait Implementations

impl Clone for Array[src]

impl Debug for Array[src]

impl PartialEq<Array> for Array[src]

impl StructuralPartialEq for Array[src]

Auto Trait Implementations

impl RefUnwindSafe for Array

impl Send for Array

impl Sync for Array

impl Unpin for Array

impl UnwindSafe for Array

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> 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.