risingwave_common

Macro do_dispatch_variants

source
macro_rules! do_dispatch_variants {
    ($impl:expr, $type:ident, $inner:pat, [$alias:tt], $body:tt, $( { $data_type:ident, $variant_name:ident, $suffix_name:ident, $scalar:ty, $scalar_ref:ty, $array:ty, $builder:ty } ),*) => { ... };
}
Expand description

Helper macro for generating dispatching code. Internally used by dispatch_xx_variants macros.