pub fn defined_memories_len(self, cx: &ModuleContext) -> usize {
        let info = cx.defined(self);
        info.defined_memories_index.map_or(0, |n| {
            let n = usize::try_from(n).unwrap();
            assert!(info.memories.len() > n);
            info.memories.len() - n
        })
    }
/// The number of defined memories in this module.
The number of defined memories in this module.
The number of defined memories in this module .
pub fn defined_memories_len(self, cx: &ModuleContext) -> usize {
        let info = cx.defined(self);
        info.defined_memories_index.map_or(0, |n| {
            let n = usize::try_from(n).unwrap();
            assert!(info.memories.len() > n);
            info.memories.len() - n
        })
    }
pub fn defined_memories_len ( self , cx : & ModuleContext ) -> usize { let info = cx . defined ( self ) ; info . defined_memories_index . map_or ( 0 , | n | { let n = usize :: try_from ( n ) . unwrap ( ) ; assert ! ( info memories len ( ) n ) ; info . memories . len ( ) - n } ) }
The number of defined memories in this module.
The number of defined memories in this module .
self
cx
&ModuleContext
self
cx
&ModuleContext