macro_rules! match_tech_types {
    (($a:expr, $b:expr) { $(($v1:ident : $t1:ty, $v2:ident : $t2:ty)=>$b1:block),* , _ => $b2:block } ) => { ... };
}
Expand description

Dynamically dispatch to different code depending on the types of two variables. Useful for defining readable and short internal code for operations