Struct wast::ModuleType [−][src]
pub struct ModuleType<'a> {
pub imports: Vec<Import<'a>>,
pub exports: Vec<ExportType<'a>>,
}
Expand description
A type for a nested module
Fields
imports: Vec<Import<'a>>
The imports that are expected for this module type.
exports: Vec<ExportType<'a>>
The exports that this module type is expected to have.
Trait Implementations
Returns the “default value” for a type. Read more
Returns a human-readable name of this token to display when generating errors about this token missing. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ModuleType<'a>
impl<'a> Send for ModuleType<'a>
impl<'a> Sync for ModuleType<'a>
impl<'a> Unpin for ModuleType<'a>
impl<'a> UnwindSafe for ModuleType<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more