Skip to main content

ReduceCtx

Trait ReduceCtx 

Source
pub trait ReduceCtx {
    // Required method
    fn new_node(
        &self,
        scalar_fn: ScalarFnRef,
        children: &[ReduceNodeRef],
    ) -> VortexResult<ReduceNodeRef>;
}
Expand description

Arguments for reduction rules.

Required Methods§

Source

fn new_node( &self, scalar_fn: ScalarFnRef, children: &[ReduceNodeRef], ) -> VortexResult<ReduceNodeRef>

Create a new reduction node from the given scalar function and children.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§