Struct wasmparser::Import
source · pub struct Import<'a> {
pub module: &'a str,
pub name: &'a str,
pub ty: TypeRef,
}
Expand description
Represents an import in a WebAssembly module.
Fields§
§module: &'a str
The module being imported from.
name: &'a str
The name of the imported item.
ty: TypeRef
The type of the imported item.
Trait Implementations§
impl<'a> Copy for Import<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Import<'a>
impl<'a> Send for Import<'a>
impl<'a> Sync for Import<'a>
impl<'a> Unpin for Import<'a>
impl<'a> UnwindSafe for Import<'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