[][src]Trait rdcl_aoc_helpers::machine::output_receiver::OutputReceiver

pub trait OutputReceiver<T: MachineRegister>: Debug {
    pub fn receive(&mut self, output: i64, register: &T) -> bool;
}

If your machine produces output, it should send this to an OutputReceiver.

Required methods

pub fn receive(&mut self, output: i64, register: &T) -> bool[src]

Receive some output. Returns a boolean (up to the implementer on how to interpret this).

Loading content...

Implementors

impl<T: MachineRegister> OutputReceiver<T> for NoopOutputReceiver[src]

Loading content...