match_each_float_pscalar_pair

Macro match_each_float_pscalar_pair 

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

Matches on pairs of float PrimitiveScalar with the same type and executes the provided code.

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