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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".