Struct wasm_bindgen_backend::ast::Import
source · pub struct Import {
pub module: Option<String>,
pub js_namespace: Option<Ident>,
pub kind: ImportKind,
}
Fields
module: Option<String>
js_namespace: Option<Ident>
kind: ImportKind
Trait Implementations
sourceimpl ImportedTypes for Import
impl ImportedTypes for Import
fn imported_types<F>(&self, f: &mut F)where
F: FnMut(&Ident, ImportedTypeKind),
Auto Trait Implementations
impl RefUnwindSafe for Import
impl !Send for Import
impl !Sync for Import
impl Unpin for Import
impl UnwindSafe for Import
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