Enum wasmtime_environ::wasm::Alias  [−][src]
pub enum Alias {
    ParentModule(ModuleIndex),
    ParentType(TypeIndex),
    Child {
        instance: InstanceIndex,
        export: usize,
    },
}An entry in the alias section of a wasm module (from the module linking proposal)
Variants
ParentModule(ModuleIndex)A parent’s module is being aliased into our own index space.
Note that the index here is in the parent’s index space, not our own.
ParentType(TypeIndex)A parent’s type is being aliased into our own index space
Note that the index here is in the parent’s index space, not our own.
A previously created instance is having one of its exports aliased into our index space.
Show fields
Fields of Child
instance: InstanceIndexThe index we’re aliasing.
export: usizeThe nth export that we’re inserting into our own index space locally.