Struct resast::decl::ModImport [−][src]
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
Auto Trait Implementations
impl<'a> RefUnwindSafe for ModImport<'a>
impl<'a> UnwindSafe for ModImport<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more