Skip to main content

ReduceParent

Trait ReduceParent 

Source
pub trait ReduceParent<Kind> {
    // Required method
    fn parent_id(&self) -> Id;
}
Expand description

The parent that a parent-reduce rule is registered under.

A parent is an array encoding, such as Filter, or a scalar function, such as Cast, because a ScalarFnArray is identified by its function. AnyScalarFn is the parent for a rule that applies to any scalar function array. The Kind parameter only keeps these implementations apart, and callers never name it.

Required Methods§

Source

fn parent_id(&self) -> Id

The id that the parent is registered under.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§