pub struct ImportType<'module> { /* private fields */ }Expand description
A descriptor for an imported value into a Wasm Module.
This type is primarily accessed from the Module::imports method.
Each ImportType describes an import into the Wasm module with the module/name
that it is imported from as well as the type of item that is being imported.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'module> Freeze for ImportType<'module>
impl<'module> RefUnwindSafe for ImportType<'module>
impl<'module> Send for ImportType<'module>
impl<'module> Sync for ImportType<'module>
impl<'module> Unpin for ImportType<'module>
impl<'module> UnwindSafe for ImportType<'module>
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