func_wrapper

Macro func_wrapper 

Source
macro_rules! func_wrapper {
    ($func:expr, $t: ty, 1) => { ... };
    ($func:expr, $t: ty, 2) => { ... };
    ($func:expr, $t: ty, 3) => { ... };
    ($func:expr, $t: ty, 4) => { ... };
    ($func:expr, $t: ty, $_:expr) => { ... };
}