pub fn add(&mut self, module: &str, name: &str, func: FuncId) -> ImportId {
        self.arena.alloc_with_id(|id| Import {
            id,
            module: module.to_string(),
            name: name.to_string(),
            func,
        })
    }
/// Adds a new import to this section
Adds a new import to this section
Adds a new import to this section
pub fn add(&mut self, module: &str, name: &str, func: FuncId) -> ImportId {
        self.arena.alloc_with_id(|id| Import {
            id,
            module: module.to_string(),
            name: name.to_string(),
            func,
        })
    }
pub fn add ( & mut self , module : & str , name : & str , func : FuncId ) -> ImportId { self . arena . alloc_with_id ( | id | Import { id , module : module . to_string ( ) , name : name . to_string ( ) , func , } ) }
Adds a new import to this section
Adds a new import to this section
&mut self
module
&str
name
&str
func
FuncId
&mut self
module
&str
name
&str
func
FuncId