Trait signals::Emitter [] [src]

pub trait Emitter: Send {
    type input;
    fn emit_arc(&mut self, _: Arc<Self::input>);
fn emit(&mut self, _: Self::input); }

This is a polymorphic trait allowing multiple generic signals to be stored in a list.

Associated Types

Required Methods

When dealing with multithreaded Emitters, we want Arc capability

This is syntax sugar used as a emit_arc(...) wrapper

Implementors