Trait rsynth::event::EventHandler[][src]

pub trait EventHandler<E> {
    fn handle_event(&mut self, event: E);
}

The trait that plugins should implement in order to handle the given type of events.

The type parameter E corresponds to the type of the event.

Required methods

fn handle_event(&mut self, event: E)[src]

Loading content...

Implementors

impl<'a, E, EE, F, H> EventHandler<EE> for Map<'a, H, F> where
    H: EventHandler<E>,
    F: FnMut(EE) -> E, 
[src]

impl<'c, 'mp, 'mw> EventHandler<Indexed<Timed<RawMidiEvent>>> for JackHost<'c, 'mp, 'mw>[src]

impl<'c, 'mp, 'mw, 'e> EventHandler<Indexed<Timed<SysExEvent<'e>>>> for JackHost<'c, 'mp, 'mw>[src]

impl<E> EventHandler<E> for DummyEventHandler[src]

impl<S, E, M> EventHandler<E> for TestPlugin<S, E, M> where
    E: PartialEq + Debug
[src]

impl<W> EventHandler<Timed<RawMidiEvent>> for MidiWriterWrapper<W> where
    W: MidiWriter
[src]

Loading content...