pub fn new() -> Self {
        Self {
            signatures: PrimaryMap::new(),
            imported_funcs: PrimaryMap::new(),
            imported_tables: PrimaryMap::new(),
            imported_memories: PrimaryMap::new(),
            imported_globals: PrimaryMap::new(),
            functions: PrimaryMap::new(),
            table_plans: PrimaryMap::new(),
            memory_plans: PrimaryMap::new(),
            globals: PrimaryMap::new(),
            exports: IndexMap::new(),
            start_func: None,
            table_elements: Vec::new(),
            name: Default::default(),
            func_names: SecondaryMap::new(),
        }
    }
/// Allocates the module data structures.
Allocates the module data structures.
Allocates the module data structures .
pub fn new() -> Self {
        Self {
            signatures: PrimaryMap::new(),
            imported_funcs: PrimaryMap::new(),
            imported_tables: PrimaryMap::new(),
            imported_memories: PrimaryMap::new(),
            imported_globals: PrimaryMap::new(),
            functions: PrimaryMap::new(),
            table_plans: PrimaryMap::new(),
            memory_plans: PrimaryMap::new(),
            globals: PrimaryMap::new(),
            exports: IndexMap::new(),
            start_func: None,
            table_elements: Vec::new(),
            name: Default::default(),
            func_names: SecondaryMap::new(),
        }
    }
pub fn new ( ) -> Self { Self { signatures : PrimaryMap :: new ( ) , imported_funcs : PrimaryMap :: new ( ) , imported_tables : PrimaryMap :: new ( ) , imported_memories : PrimaryMap :: new ( ) , imported_globals : PrimaryMap :: new ( ) , functions : PrimaryMap :: new ( ) , table_plans : PrimaryMap :: new ( ) , memory_plans : PrimaryMap :: new ( ) , globals : PrimaryMap :: new ( ) , exports : IndexMap :: new ( ) , start_func : None , table_elements : Vec :: new ( ) , name : Default :: default ( ) , func_names : SecondaryMap :: new ( ) , } }
Allocates the module data structures.
Allocates the module data structures .