Struct swc_ecma_ast::ClassProp [−][src]
pub struct ClassProp {}Show fields
pub span: Span, pub key: Box<Expr>, pub value: Option<Box<Expr>>, pub type_ann: Option<TsTypeAnn>, pub is_static: bool, pub decorators: Vec<Decorator>, pub computed: bool, pub accessibility: Option<Accessibility>, pub is_abstract: bool, pub is_optional: bool, pub is_override: bool, pub readonly: bool, pub declare: bool, pub definite: bool,
Fields
span: Span
key: Box<Expr>
value: Option<Box<Expr>>
type_ann: Option<TsTypeAnn>
is_static: bool
decorators: Vec<Decorator>
computed: bool
accessibility: Option<Accessibility>
Typescript extension.
is_abstract: bool
Typescript extension.
is_optional: bool
is_override: bool
readonly: bool
declare: bool
definite: bool
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 ClassProp
impl UnwindSafe for ClassProp
Blanket Implementations
Mutably borrows from an owned value. Read more