///
/// Geerate a declaration with only function types. Used for the SIGNAL/SLOT macros
///
Geerate a declaration with only function types. Used for the SIGNAL/SLOT macros
Geerate a declaration with only function types . Used for the SIGNAL / SLOT macros
fn generate_func_def_input_parms_only(func: &Function) -> String {
    let mut function_args = String::with_capacity(128);
    let len = func.function_args.len() - 1;
    // write arguments
    for (i, arg) in func.function_args[1..].iter().enumerate() {
        function_args.push_str(&get_qt_parameter_type(&arg));
        if i != len - 1 {
            function_args.push_str(", ");
        }
    }
    function_args
}
fn generate_func_def_input_parms_only ( func : & Function ) -> String { let mut function_args = String :: with_capacity ( 128 ) ; let len = func . function_args . len ( ) - 1 ; // write arguments for ( i , arg ) in func . function_args [ 1 .. ] . iter ( ) . enumerate ( ) { function_args . push_str ( & get_qt_parameter_type ( & arg ) ) ; if i != len - 1 { function_args . push_str ( " " ) ; } } function_args }
Geerate a declaration with only function types.
Geerate a declaration with only function types .
func
&Function