fn register(&mut self, name: Option<String>, as_name: String) -> Result<(), WastError> {
        let index = self.get_index(&name)?;
        self.namespace.register(as_name, index);
        Ok(())
    }
/// Register an instance to make it available for performing actions.
Register an instance to make it available for performing actions.
Register an instance to make it available for performing actions .
fn register(&mut self, name: Option<String>, as_name: String) -> Result<(), WastError> {
        let index = self.get_index(&name)?;
        self.namespace.register(as_name, index);
        Ok(())
    }
fn register ( & mut self , name : Option < String > , as_name : String ) -> Result < ( ) , WastError > { let index = self . get_index ( & name ) ? ; self . namespace . register ( as_name , index ) ; Ok ( ( ) ) }
Register an instance to make it available for performing actions.
Register an instance to make it available for performing actions .
&mut self
name
Option<String>
as_name
String