pub trait TapeMachine<I>: Send + 'staticwhere
I: InstructionSetTrait,{
// Required methods
fn needs_restart(&mut self) -> bool;
fn handle(&mut self, instruction: I::Instruction<'_>);
}Required Methods§
fn needs_restart(&mut self) -> bool
fn handle(&mut self, instruction: I::Instruction<'_>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".