pub struct Module<'a> {
pub core: Module<'a>,
pub adapters: Vec<Adapter<'a>>,
}
Expand description
A WebAssembly interface types-enhanced module.
Fields§
§core: Module<'a>
The core WebAssembly module which doesn’t use interface types.
adapters: Vec<Adapter<'a>>
The various @interface
adapter directives representing the wasm
interface types of this module.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Module<'a>
impl<'a> RefUnwindSafe for Module<'a>
impl<'a> Send for Module<'a>
impl<'a> Sync for Module<'a>
impl<'a> Unpin for Module<'a>
impl<'a> UnwindSafe for Module<'a>
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