Macro duration_display

Source
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 an Duration
  • $t - [ArrowPrimitiveType] of the array
  • $scale - scale of the duration (passed to duration_fmt)