Struct swc_ecma_ast::ArrayPat [−][src]
pub struct ArrayPat { pub span: Span, pub elems: Vec<Option<Pat>>, pub optional: bool, pub type_ann: Option<TsTypeAnn>, }
Fields
span: Span
elems: Vec<Option<Pat>>
optional: bool
Only in an ambient context
type_ann: Option<TsTypeAnn>
Trait Implementations
fn 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
Auto Trait Implementations
impl RefUnwindSafe for ArrayPat
impl UnwindSafe for ArrayPat
Blanket Implementations
Mutably borrows from an owned value. Read more