pub fn push_type<'a>(self, cx: &mut ModuleContext<'a>, ty: wasmparser::TypeDef<'a>) {
        let types_space = match &cx.arena[self.id] {
            ModuleInfo::Aliased(_) => panic!("not a defined module"),
            ModuleInfo::Defined(d) => &d.types,
        };
        let ty = cx.types.insert_wasmparser(ty, types_space);
        cx.defined_mut(self).types.push(ty);
    }
/// Push a new type into this module's types space.
Push a new type into this module's types space.
Push a new type into this module ' s types space .
pub fn push_type<'a>(self, cx: &mut ModuleContext<'a>, ty: wasmparser::TypeDef<'a>) {
        let types_space = match &cx.arena[self.id] {
            ModuleInfo::Aliased(_) => panic!("not a defined module"),
            ModuleInfo::Defined(d) => &d.types,
        };
        let ty = cx.types.insert_wasmparser(ty, types_space);
        cx.defined_mut(self).types.push(ty);
    }
pub fn push_type < ' a > ( self , cx : & mut ModuleContext < ' a > , ty : wasmparser :: TypeDef < ' a > ) { let types_space = match & cx . arena [ self . id ] { ModuleInfo :: Aliased ( _ ) => panic ! ( " " ) , ModuleInfo :: Defined ( d ) => & d . types , } ; let ty = cx . types . insert_wasmparser ( ty , types_space ) ; cx . defined_mut ( self ) . types . push ( ty ) ; }
Push a new type into this module's types space.
Push a new type into this module ' s types space .
self
cx
&mut ModuleContext<'a>
ty
wasmparser::TypeDef<'a>
self
cx
&mut ModuleContext<'a>
ty
wasmparser::TypeDef<'a>