pub trait Backend: DynClone {
Show 23 methods fn id(&self) -> Option<BackendId>; fn supported_features(&self) -> Features; fn speak(
        &mut self,
        text: &str,
        interrupt: bool
    ) -> Result<Option<UtteranceId>, Error>; fn stop(&mut self) -> Result<(), Error>; fn min_rate(&self) -> f32; fn max_rate(&self) -> f32; fn normal_rate(&self) -> f32; fn get_rate(&self) -> Result<f32, Error>; fn set_rate(&mut self, rate: f32) -> Result<(), Error>; fn min_pitch(&self) -> f32; fn max_pitch(&self) -> f32; fn normal_pitch(&self) -> f32; fn get_pitch(&self) -> Result<f32, Error>; fn set_pitch(&mut self, pitch: f32) -> Result<(), Error>; fn min_volume(&self) -> f32; fn max_volume(&self) -> f32; fn normal_volume(&self) -> f32; fn get_volume(&self) -> Result<f32, Error>; fn set_volume(&mut self, volume: f32) -> Result<(), Error>; fn is_speaking(&self) -> Result<bool, Error>; fn voices(&self) -> Result<Vec<Voice>, Error>; fn voice(&self) -> Result<Option<Voice>, Error>; fn set_voice(&mut self, voice: &Voice) -> Result<(), Error>;
}

Required Methods

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Implementors