Struct wasm_bindgen_backend::ast::Module[][src]

pub struct Module {
    pub vis: Visibility,
    pub name: Ident,
    pub imports: Vec<Import>,
}

A rust module

This exists to give the ability to namespace js imports.

Fields

js -> rust interfaces

Trait Implementations

impl Clone for Module
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> TryToTokens for Module
[src]

Auto Trait Implementations

impl !Send for Module

impl !Sync for Module