[−][src]Enum swc_ecma_ast::ModuleDecl
Variants
Import(ImportDecl)
ExportDecl(Decl)
ExportNamed(NamedExport)
ExportDefaultDecl(ExportDefaultDecl)
ExportDefaultExpr(Box<Expr>)
ExportAll(ExportAll)
TsImportEqualsDecl(TsImportEqualsDecl)
TsExportAssignment(TsExportAssignment)
TsNamespaceExportDecl(TsNamespaceExportDecl)
Trait Implementations
impl From<ModuleDecl> for ModuleItem
[src]
impl From<ModuleDecl> for ModuleItem
fn from(v: ModuleDecl) -> Self | [src] |
impl From<ImportDecl> for ModuleDecl
[src]
impl From<ImportDecl> for ModuleDecl
fn from(v: ImportDecl) -> Self | [src] |
impl From<Decl> for ModuleDecl
[src]
impl From<Decl> for ModuleDecl
impl From<NamedExport> for ModuleDecl
[src]
impl From<NamedExport> for ModuleDecl
fn from(v: NamedExport) -> Self | [src] |
impl From<ExportDefaultDecl> for ModuleDecl
[src]
impl From<ExportDefaultDecl> for ModuleDecl
fn from(v: ExportDefaultDecl) -> Self | [src] |
impl From<Box<Expr>> for ModuleDecl
[src]
impl From<Box<Expr>> for ModuleDecl
impl From<ExportAll> for ModuleDecl
[src]
impl From<ExportAll> for ModuleDecl
impl From<TsImportEqualsDecl> for ModuleDecl
[src]
impl From<TsImportEqualsDecl> for ModuleDecl
fn from(v: TsImportEqualsDecl) -> Self | [src] |
impl From<TsExportAssignment> for ModuleDecl
[src]
impl From<TsExportAssignment> for ModuleDecl
fn from(v: TsExportAssignment) -> Self | [src] |
impl From<TsNamespaceExportDecl> for ModuleDecl
[src]
impl From<TsNamespaceExportDecl> for ModuleDecl
fn from(v: TsNamespaceExportDecl) -> Self | [src] |
impl PartialEq<ModuleDecl> for ModuleDecl
[src]
impl PartialEq<ModuleDecl> for ModuleDecl
fn eq(&self, other: &ModuleDecl) -> bool | [src] |
fn ne(&self, other: &ModuleDecl) -> bool | [src] |
impl Clone for ModuleDecl
[src]
impl Clone for ModuleDecl
fn clone(&self) -> ModuleDecl | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for ModuleDecl
[src]
impl Debug for ModuleDecl
impl Spanned for ModuleDecl
[src]
impl Spanned for ModuleDecl
Auto Trait Implementations
impl Send for ModuleDecl
impl Send for ModuleDecl
impl Sync for ModuleDecl
impl Sync for ModuleDecl
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<N> AstNode for N where
N: Spanned + PartialEq<N> + Clone + Debug,
[src]
impl<N> AstNode for N where
N: Spanned + PartialEq<N> + Clone + Debug,
impl<T> Erased for T
impl<T> Erased for T