Enum swc_estree_ast::FlowDeclaration [−][src]
pub enum FlowDeclaration {
Show 13 variants
Class(DeclareClass),
Func(DeclareFunction),
Interface(DeclareInterface),
Module(DeclareModule),
ModuleExports(DeclareModuleExports),
DeclareTypeAlias(DeclareTypeAlias),
DeclareOpaqueType(DeclareOpaqueType),
Var(DeclareVariable),
ExportDecl(DeclareExportDeclaration),
ExportAllDecl(DeclareExportAllDeclaration),
InterfaceDeclaration(InterfaceDeclaration),
OpaqueType(OpaqueType),
TypeAlias(TypeAlias),
}
Variants
Class(DeclareClass)
Tuple Fields
0: DeclareClass
Func(DeclareFunction)
Tuple Fields
Interface(DeclareInterface)
Tuple Fields
Module(DeclareModule)
Tuple Fields
ModuleExports(DeclareModuleExports)
Tuple Fields
DeclareTypeAlias(DeclareTypeAlias)
Tuple Fields
DeclareOpaqueType(DeclareOpaqueType)
Tuple Fields
Var(DeclareVariable)
Tuple Fields
ExportDecl(DeclareExportDeclaration)
Tuple Fields
ExportAllDecl(DeclareExportAllDeclaration)
Tuple Fields
InterfaceDeclaration(InterfaceDeclaration)
Tuple Fields
OpaqueType(OpaqueType)
Tuple Fields
0: OpaqueType
TypeAlias(TypeAlias)
Tuple Fields
0: TypeAlias
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 FlowDeclaration
impl Send for FlowDeclaration
impl Sync for FlowDeclaration
impl Unpin for FlowDeclaration
impl UnwindSafe for FlowDeclaration
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