macro_rules! duration_display {
($convert:ident, $t:ty, $scale:tt) => { ... };
}
Expand description
Derive DisplayIndexState
for PrimitiveArray<$t>
Arguments
$convert
- function to convert the value to anDuration
$t
- [ArrowPrimitiveType
] of the array$scale
- scale of the duration (passed toduration_fmt
)