Struct wasm_bindgen_backend::ast::Import [−][src]
pub struct Import {
pub module: ImportModule,
pub js_namespace: Option<Vec<String>>,
pub kind: ImportKind,
}Things imported from a JS module (in an extern block)
Fields
module: ImportModuleThe type of module being imported from
js_namespace: Option<Vec<String>>The namespace to access the item through, if any
kind: ImportKindThe type of item being imported