pub(super) trait EvalDyn {
// Required methods
fn eval_frame(&self, alpha: f64, output: &mut OutputContext<'_>);
fn eval_capture(&self, alpha: f64, output: &mut Vec<DynOutput>);
// Provided method
fn sim_step(&self) -> Option<f64> { ... }
}Expand description
The erased visual-leaf protocol held by the runtime tree.
Ordinary sampling inserts each complete typed output directly. Holds capture the same raw values and replay them without introducing a container payload.
Required Methods§
fn eval_frame(&self, alpha: f64, output: &mut OutputContext<'_>)
fn eval_capture(&self, alpha: f64, output: &mut Vec<DynOutput>)
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".