pub struct ModImport<'a> {
pub specifiers: Vec<ImportSpecifier<'a>>,
pub source: Lit<'a>,
}
Expand description
A declaration that imports exported members of another module
import {Thing} from './stuff.js';
Fields
specifiers: Vec<ImportSpecifier<'a>>
source: Lit<'a>
Trait Implementations
sourceimpl<'a> PartialEq<ModImport<'a>> for ModImport<'a>
impl<'a> PartialEq<ModImport<'a>> for ModImport<'a>
impl<'a> StructuralPartialEq for ModImport<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ModImport<'a>
impl<'a> Send for ModImport<'a>
impl<'a> Sync for ModImport<'a>
impl<'a> Unpin for ModImport<'a>
impl<'a> UnwindSafe for ModImport<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more