risingwave_common

Macro dispatch_array_builder_variants

source
macro_rules! dispatch_array_builder_variants {
    ($impl:expr, [$($k:ident = $v:ident),*], $body:tt) => { ... };
    ($impl:expr, $inner:pat, $body:tt) => { ... };
    ($impl:expr, $inner:pat, [$($k:ident = $v:ident),*], $body:tt) => { ... };
}
Expand description

Dispatch the code block to all variants of ArrayBuilderImpl.

Refer to dispatch_array_variants for usage.