pub trait FusedNode: PolydatNode {
// Required method
fn decomposed(&self) -> DecomposedGraph;
}Expand description
Trait for fused nodes that carry an equivalence contract.
Any node produced by a fusion rule’s replacement factory should
implement this to enable automated equivalence testing.
Required Methods§
Sourcefn decomposed(&self) -> DecomposedGraph
fn decomposed(&self) -> DecomposedGraph
Build the decomposed (unfused) subgraph that this node is semantically equivalent to.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".