pub fn push_defined_memory(self, cx: &mut ModuleContext, memory_type: wasmparser::MemoryType) {
        let info = cx.defined_mut(self);
        if info.defined_memories_index.is_none() {
            info.defined_memories_index = Some(u32::try_from(info.memories.len()).unwrap());
        }
        info.memories.push(memory_type);
    }
/// Push a new defined memory into this module's memory index space.
Push a new defined memory into this module's memory index space.
Push a new defined memory into this module ' s memory index space .
pub fn push_defined_memory(self, cx: &mut ModuleContext, memory_type: wasmparser::MemoryType) {
        let info = cx.defined_mut(self);
        if info.defined_memories_index.is_none() {
            info.defined_memories_index = Some(u32::try_from(info.memories.len()).unwrap());
        }
        info.memories.push(memory_type);
    }
pub fn push_defined_memory ( self , cx : & mut ModuleContext , memory_type : wasmparser :: MemoryType ) { let info = cx . defined_mut ( self ) ; if info . defined_memories_index . is_none ( ) { info . defined_memories_index = Some ( u32 :: try_from ( info . memories . len ( ) ) . unwrap ( ) ) ; } info . memories . push ( memory_type ) ; }
Push a new defined memory into this module's memory index space.
Push a new defined memory into this module ' s memory index space .
self
cx
&mut ModuleContext
memory_type
wasmparser::MemoryType
self
cx
&mut ModuleContext
memory_type
wasmparser::MemoryType