match_each_dvector

Macro match_each_dvector 

Source
macro_rules! match_each_dvector {
    ($self:expr, | $vec:ident | $body:block) => { ... };
}
Expand description

Matches on all decimal type variants of DecimalVector and executes the same code for each variant branch.

This macro eliminates repetitive match statements when implementing operations that need to work uniformly across all decimal type variants (D8, D16, D32, D64, D128, D256).