pub struct ImportDeclaration {
pub specifiers: Vec<ImportSpecifier>,
pub source: StringLiteral,
pub type_only: bool,
pub span: Span,
}Fields§
§specifiers: Vec<ImportSpecifier>§source: StringLiteral§type_only: bool§span: SpanTrait Implementations§
Source§impl Clone for ImportDeclaration
impl Clone for ImportDeclaration
Source§fn clone(&self) -> ImportDeclaration
fn clone(&self) -> ImportDeclaration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImportDeclaration
impl RefUnwindSafe for ImportDeclaration
impl !Send for ImportDeclaration
impl !Sync for ImportDeclaration
impl Unpin for ImportDeclaration
impl UnwindSafe for ImportDeclaration
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