EventHandler

Trait EventHandler 

Source
pub trait EventHandler: Sync {
    // Required method
    fn on_speech_finished(&self, id: u32);
}
Expand description

The handler EventfulSynthesizer will call.

Required Methods§

Source

fn on_speech_finished(&self, id: u32)

Called when the synthesizer has finished rendering the speech with the given identifier.

Implementors§

Source§

impl<F: Fn(u32) + Sync> EventHandler for F