Struct swc_ecma_ast::ObjectPat [−][src]
pub struct ObjectPat { pub span: Span, pub props: Vec<ObjectPatProp>, pub optional: bool, pub type_ann: Option<TsTypeAnn>, }
Fields
span: Span
props: Vec<ObjectPatProp>
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 ObjectPat
impl UnwindSafe for ObjectPat
Blanket Implementations
Mutably borrows from an owned value. Read more