Enum swc_babel_ast::ClassBodyEl [−][src]
pub enum ClassBodyEl {
Method(ClassMethod),
PrivateMethod(ClassPrivateMethod),
Prop(ClassProperty),
PrivateProp(ClassPrivateProperty),
TSMethod(TSDeclareMethod),
TSIndex(TSIndexSignature),
StaticBlock(StaticBlock),
}
Variants
Method(ClassMethod)
Tuple Fields
0: ClassMethod
PrivateMethod(ClassPrivateMethod)
Tuple Fields
Prop(ClassProperty)
Tuple Fields
PrivateProp(ClassPrivateProperty)
Tuple Fields
TSMethod(TSDeclareMethod)
Tuple Fields
TSIndex(TSIndexSignature)
Tuple Fields
StaticBlock(StaticBlock)
Tuple Fields
0: StaticBlock
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ClassBodyEl
impl Send for ClassBodyEl
impl Sync for ClassBodyEl
impl Unpin for ClassBodyEl
impl UnwindSafe for ClassBodyEl
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more