pub trait OutputReceiver<T: MachineRegister>: Debug {
fn receive(&mut self, output: i64, register: &T) -> bool;
}
Expand description
If your machine produces output, it should send this to an OutputReceiver.
pub trait OutputReceiver<T: MachineRegister>: Debug {
fn receive(&mut self, output: i64, register: &T) -> bool;
}
If your machine produces output, it should send this to an OutputReceiver.