pub struct ImportDecl {
pub specifiers: Vec<ImportSpecifier>,
pub source: String,
pub attributes: Vec<ImportAttribute>,
pub span: Span,
}Expand description
import …
Fields§
§specifiers: Vec<ImportSpecifier>What is imported.
source: StringModule specifier string.
attributes: Vec<ImportAttribute>with { type: "json" } attributes.
span: SpanSource range.
Trait Implementations§
Source§impl Clone for ImportDecl
impl Clone for ImportDecl
Source§impl Debug for ImportDecl
impl Debug for ImportDecl
Source§impl PartialEq for ImportDecl
impl PartialEq for ImportDecl
impl StructuralPartialEq for ImportDecl
Auto Trait Implementations§
impl Forget for ImportDecl
impl Freeze for ImportDecl
impl Move for ImportDecl
impl RefUnwindSafe for ImportDecl
impl Send for ImportDecl
impl Sync for ImportDecl
impl Unpin for ImportDecl
impl UnsafeUnpin for ImportDecl
impl UnwindSafe for ImportDecl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more