Struct swc_estree_ast::ImportDeclaration [−][src]
pub struct ImportDeclaration {
pub base: BaseNode,
pub specifiers: Vec<ImportSpecifierType>,
pub source: StringLiteral,
pub assertions: Option<Vec<ImportAttribute>>,
pub import_kind: Option<ImportKind>,
}
Fields
base: BaseNode
specifiers: Vec<ImportSpecifierType>
source: StringLiteral
assertions: Option<Vec<ImportAttribute>>
import_kind: Option<ImportKind>
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
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 ImportDeclaration
impl Send for ImportDeclaration
impl Sync for ImportDeclaration
impl Unpin for ImportDeclaration
impl UnwindSafe for ImportDeclaration
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