Struct apres::controller::Controller [−][src]
pub struct Controller { /* fields omitted */ }
Implementations
impl Controller
[src]
impl Controller
[src]pub fn new(path: &str) -> Result<Controller, ApresError>
[src]
pub fn listen<T>(
&mut self,
context: &mut T,
callback: fn(_: &mut Controller, _: &mut T, _: &MIDIEvent)
) -> Result<(), ApresError>
[src]
&mut self,
context: &mut T,
callback: fn(_: &mut Controller, _: &mut T, _: &MIDIEvent)
) -> Result<(), ApresError>