pub(super) trait EvalDyn {
// Required method
fn eval_into(&self, alpha: f64, output: &mut Vec<DynItem>);
// Provided method
fn sim_step(&self) -> Option<f64> { ... }
}Expand description
The erased visual-leaf protocol: Eval without its type.
This is the only type-erased box in the runtime tree
(NodeContent::Leaf) — the open world of user evaluators. Containers are
closed runtime variants and never implement this.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".