fn transform_arg_list(args: &Punctuated<FnArg, Comma>) -> Vec<TransformedArg>{
    // println!("args: {:#?}", args);
    let mut res = Vec::new();
    for arg in args {
        //  println!("arg: {:#?}", arg);
        if let FnArg::Typed(arg) = arg {
            //  `arg` contains `pat : ty`
            //  println!("arg: {:#?}", arg);
            let arg_transformed = transform_arg(&arg);
            res.push(arg_transformed);
        }
        else { assert!(false, "Unknown arg"); }
    }
    res
}
/// Given a list of extern function arg declarations, return the transformed args.
Given a list of extern function arg declarations, return the transformed args.
Given a list of extern function arg declarations return the transformed args .
fn transform_arg_list(args: &Punctuated<FnArg, Comma>) -> Vec<TransformedArg>{
    // println!("args: {:#?}", args);
    let mut res = Vec::new();
    for arg in args {
        //  println!("arg: {:#?}", arg);
        if let FnArg::Typed(arg) = arg {
            //  `arg` contains `pat : ty`
            //  println!("arg: {:#?}", arg);
            let arg_transformed = transform_arg(&arg);
            res.push(arg_transformed);
        }
        else { assert!(false, "Unknown arg"); }
    }
    res
}
fn transform_arg_list ( args : & Punctuated < FnArg , Comma > ) -> Vec < TransformedArg > { // println!("args: {:#?}", args); let mut res = Vec :: new ( ) ; for arg in args { //  println!("arg: {:#?}", arg); if let FnArg :: Typed ( arg ) = arg { //  `arg` contains `pat : ty` //  println!("arg: {:#?}", arg); let arg_transformed = transform_arg ( & arg ) ; res . push ( arg_transformed ) ; } else { assert ! ( false " " ) ; } } res }
Given a list of extern function arg declarations, return the transformed args.
Given a list of extern function arg declarations return the transformed args .
args
&Punctuated<FnArg, Comma>
args
&Punctuated<FnArg, Comma>