///
/// Code to write down callback def
///
Code to write down callback def
Code to write down callback def
fn generate_callback_def<W: Write>(
        &mut self,
        dest: &mut W,
        post_name: &str,
        func: &Function,
    ) -> io::Result<()> {
        self.temp_string.clear();
        Self::callback_fun_def_name(&mut self.temp_string, true, &func.name, post_name, func);
        write!(dest, "    {}", self.temp_string)
    }
fn generate_callback_def < W : Write > ( & mut self , dest : & mut W , post_name : & str , func : & Function , ) -> io :: Result < ( ) > { self . temp_string . clear ( ) ; Self :: callback_fun_def_name ( & mut self . temp_string , true , & func . name , post_name , func ) ; write ! ( dest " " self temp_string ) }
Code to write down callback def
Code to write down callback def
&mut self
dest
&mut W
post_name
&str
func
&Function