Struct swc_ecma_ast::ArrayLit
source · [−]pub struct ArrayLit {
pub span: Span,
pub elems: Vec<Option<ExprOrSpread>>,
}
Expand description
Array literal.
Fields
span: Span
elems: Vec<Option<ExprOrSpread>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ArrayLit
impl<'de> Deserialize<'de> for ArrayLit
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for ArrayLit
impl EqIgnoreSpan for ArrayLit
fn eq_ignore_span(&self, other: &Self) -> bool
impl Eq for ArrayLit
impl StructuralEq for ArrayLit
impl StructuralPartialEq for ArrayLit
Auto Trait Implementations
impl RefUnwindSafe for ArrayLit
impl Send for ArrayLit
impl Sync for ArrayLit
impl Unpin for ArrayLit
impl UnwindSafe for ArrayLit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more