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 ImportDeclwhere
*const u8 is !null: Freeze,
PhantomData<ImportSpecifier>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ImportAttribute>: Freeze,
impl Move for ImportDecl
impl RefUnwindSafe for ImportDecl
impl Send for ImportDeclwhere
RawVecInner: Send,
impl Sync for ImportDeclwhere
RawVecInner: Sync,
impl Unpin for ImportDecl
impl UnsafeUnpin for ImportDeclwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ImportSpecifier>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ImportAttribute>: UnsafeUnpin,
impl UnwindSafe for ImportDeclwhere
RawVecInner: UnwindSafe,
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