Struct docs::ast::ArrayLiteral
source · pub struct ArrayLiteral {
pub elements: Vec<Expression>,
}Fields§
§elements: Vec<Expression>Trait Implementations§
source§impl Clone for ArrayLiteral
impl Clone for ArrayLiteral
source§fn clone(&self) -> ArrayLiteral
fn clone(&self) -> ArrayLiteral
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ArrayLiteral
impl Debug for ArrayLiteral
source§impl Nodetrait for ArrayLiteral
impl Nodetrait for ArrayLiteral
source§impl PartialEq for ArrayLiteral
impl PartialEq for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ArrayLiteral
Auto Trait Implementations§
impl Freeze for ArrayLiteral
impl RefUnwindSafe for ArrayLiteral
impl Send for ArrayLiteral
impl Sync for ArrayLiteral
impl Unpin for ArrayLiteral
impl UnwindSafe for ArrayLiteral
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more