pub trait Runnable: FromParams + Sized {
type State: Clone;
// Required method
fn step(&mut self) -> Option<&Self::State>;
}Expand description
A process to be ran that produces state information after each step
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.