pub struct ModuleType {
pub imports: IndexMap<(String, String), CoreExtern>,
pub exports: IndexMap<String, CoreExtern>,
}Expand description
Represents a core module type.
Fields§
§imports: IndexMap<(String, String), CoreExtern>The imports of the module type.
exports: IndexMap<String, CoreExtern>The exports of the module type.
Trait Implementations§
Source§impl Clone for ModuleType
impl Clone for ModuleType
Source§impl Debug for ModuleType
impl Debug for ModuleType
Auto Trait Implementations§
impl Freeze for ModuleType
impl RefUnwindSafe for ModuleType
impl Send for ModuleType
impl Sync for ModuleType
impl Unpin for ModuleType
impl UnsafeUnpin for ModuleType
impl UnwindSafe for ModuleType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more