macro_rules! impl_for_each_function_signature {
    ($mac:ident) => { ... };
}
Expand description

Copypasted from Wasmtime. A helper macros for implementing anything for 0-16 generic parameters. The expected argument signature is this:

macro_rules! example_arg {
    ($num:tt $($args:ident)*) => ();
}

https://github.com/bytecodealliance/wasmtime/blob/812b4b5229eac29b18b5c70a48536a514d73a8a6/crates/wasmtime/src/func.rs#LL242C14-L242C41