pub struct ArrayInitializerExpression<'ast> {
pub expression: Box<Expression<'ast>>,
pub dimensions: ArrayDimensions<'ast>,
pub span: Span<'ast>,
}
Fields§
§expression: Box<Expression<'ast>>
§dimensions: ArrayDimensions<'ast>
§span: Span<'ast>
Trait Implementations§
Source§impl<'ast> Clone for ArrayInitializerExpression<'ast>
impl<'ast> Clone for ArrayInitializerExpression<'ast>
Source§fn clone(&self) -> ArrayInitializerExpression<'ast>
fn clone(&self) -> ArrayInitializerExpression<'ast>
Returns a duplicate 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<'ast> Debug for ArrayInitializerExpression<'ast>
impl<'ast> Debug for ArrayInitializerExpression<'ast>
Source§impl<'ast> FromPest<'ast> for ArrayInitializerExpression<'ast>
impl<'ast> FromPest<'ast> for ArrayInitializerExpression<'ast>
Source§impl<'ast> PartialEq for ArrayInitializerExpression<'ast>
impl<'ast> PartialEq for ArrayInitializerExpression<'ast>
Source§fn eq(&self, other: &ArrayInitializerExpression<'ast>) -> bool
fn eq(&self, other: &ArrayInitializerExpression<'ast>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'ast> StructuralPartialEq for ArrayInitializerExpression<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for ArrayInitializerExpression<'ast>
impl<'ast> RefUnwindSafe for ArrayInitializerExpression<'ast>
impl<'ast> Send for ArrayInitializerExpression<'ast>
impl<'ast> Sync for ArrayInitializerExpression<'ast>
impl<'ast> Unpin for ArrayInitializerExpression<'ast>
impl<'ast> UnwindSafe for ArrayInitializerExpression<'ast>
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