(&mut self, func: &Function)
| 2923 | } |
| 2924 | |
| 2925 | fn generate_function_params(&mut self, func: &Function) { |
| 2926 | for param in func.params.iter() { |
| 2927 | let name = to_rust_ident(¶m.name); |
| 2928 | self.push_str(&name); |
| 2929 | self.push_str(": "); |
| 2930 | self.print_ty(¶m.ty, TypeMode::Owned); |
| 2931 | self.push_str(","); |
| 2932 | } |
| 2933 | } |
| 2934 | |
| 2935 | fn push_wasmtime_or_anyhow_result(&mut self) { |
| 2936 | let wt = self.generator.wasmtime_path(); |
no test coverage detected