Struct wast::Import [−][src]
pub struct Import<'a> { pub span: Span, pub module: &'a str, pub field: Option<&'a str>, pub item: ItemSig<'a>, }
Expand description
An import
statement and entry in a WebAssembly module.
Fields
span: Span
Where this import
was defined
module: &'a str
The module that this statement is importing from
field: Option<&'a str>
The name of the field in the module this statement imports from.
item: ItemSig<'a>
The item that’s being imported.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Import<'a>
impl<'a> UnwindSafe for Import<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more