Enum wasmtime_environ::wasmparser::Alias
source · pub enum Alias<'a> {
InstanceExport {
kind: ExternalKind,
instance_index: u32,
name: &'a str,
},
Outer {
kind: OuterAliasKind,
count: u32,
index: u32,
},
}
Expand description
Represents a core alias for a WebAssembly module.
Variants§
InstanceExport
Fields
§
kind: ExternalKind
The alias kind.
The alias is to an export of a module instance.
Outer
Fields
§
kind: OuterAliasKind
The alias kind.
The alias is to an outer item.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Alias<'a>
impl<'a> Send for Alias<'a>
impl<'a> Sync for Alias<'a>
impl<'a> Unpin for Alias<'a>
impl<'a> UnwindSafe for Alias<'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