pub struct ImportEntry {
pub module: String,
pub name: String,
pub kind: ImportKind,
pub index: u32,
}Expand description
A WASM import entry with full metadata
Fields§
§module: StringModule name (e.g., “wasi:cli/stdout” or “env”)
name: StringField name (e.g., “write” or “memory”)
kind: ImportKindImport kind and associated data
index: u32Index of this import within its kind (e.g., function import index)
Trait Implementations§
Source§impl Clone for ImportEntry
impl Clone for ImportEntry
Source§fn clone(&self) -> ImportEntry
fn clone(&self) -> ImportEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImportEntry
impl RefUnwindSafe for ImportEntry
impl Send for ImportEntry
impl Sync for ImportEntry
impl Unpin for ImportEntry
impl UnsafeUnpin for ImportEntry
impl UnwindSafe for ImportEntry
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