match_each_pscalar_pair

Macro match_each_pscalar_pair 

Source
macro_rules! match_each_pscalar_pair {
    (($left:expr, $right:expr), | $l:ident, $r:ident | $body:block, $else:block) => { ... };
}
Expand description

Matches on pairs of crate::primitive::PrimitiveScalar with the same type and executes the provided code.

This macro matches two primitive scalars when they have the same underlying type. For type mismatches, the $else block is executed.