fn make_aliased_type_section(
    cx: &ModuleContext<'_>,
    module: Module,
    depth: u32,
) -> wasm_encoder::AliasSection {
    let mut aliases = wasm_encoder::AliasSection::new();
    for ty in module.types(cx) {
        aliases.outer_type(depth, ty.index());
    }
    aliases
}
/// Make the equivalent of the given module's type section from outer type
/// aliases that bring types from the umbrella module's types space into this
/// code module's types space.
Make the equivalent of the given module's type section from outer type
aliases that bring types from the umbrella module's types space into this
code module's types space.
Make the equivalent of the given module ' s type section from outer type aliases that bring types from the umbrella module ' s types space into this code module ' s types space .
fn make_aliased_type_section(
    cx: &ModuleContext<'_>,
    module: Module,
    depth: u32,
) -> wasm_encoder::AliasSection {
    let mut aliases = wasm_encoder::AliasSection::new();
    for ty in module.types(cx) {
        aliases.outer_type(depth, ty.index());
    }
    aliases
}
fn make_aliased_type_section ( cx : & ModuleContext < ' _ > , module : Module , depth : u32 , ) -> wasm_encoder :: AliasSection { let mut aliases = wasm_encoder :: AliasSection :: new ( ) ; for ty in module . types ( cx ) { aliases . outer_type ( depth , ty . index ( ) ) ; } aliases }
Make the equivalent of the given module's type section from outer type
aliases that bring types from the umbrella module's types space into this
code module's types space.
Make the equivalent of the given module ' s type section from outer type aliases that bring types from the umbrella module ' s types space into this code module ' s types space .
cx
&ModuleContext<'_>
module
Module
depth
u32
cx
&ModuleContext<'_>
module
Module
depth
u32