Enum wasmtime_environ::wasm::Alias [−][src]
An entry in the alias section of a wasm module (from the module linking proposal)
Variants
An outer module’s module is being aliased into our own index space.
Fields of OuterModule
relative_depth: u32
The number of modules above us that we’re referencing.
index: ModuleIndex
The module index in the outer module’s index space we’re referencing.
An outer module’s type is being aliased into our own index space
Note that the index here is in the outer module’s index space, not our own.
Fields of OuterType
A previously created instance is having one of its exports aliased into our index space.
Fields of InstanceExport
instance: InstanceIndex
The index we’re aliasing.
export: &'a str
The nth export that we’re inserting into our own index space locally.
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,