Enum swc_babel_ast::ExportDefaultDeclType [−][src]
pub enum ExportDefaultDeclType {
Func(FunctionDeclaration),
TSFunc(TSDeclareFunction),
Class(ClassDeclaration),
Expr(Box<Expression>),
}
Variants
Func(FunctionDeclaration)
Tuple Fields
TSFunc(TSDeclareFunction)
Tuple Fields
Class(ClassDeclaration)
Tuple Fields
Expr(Box<Expression>)
Tuple Fields
0: Box<Expression>
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 ExportDefaultDeclType
impl Send for ExportDefaultDeclType
impl Sync for ExportDefaultDeclType
impl Unpin for ExportDefaultDeclType
impl UnwindSafe for ExportDefaultDeclType
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