pub struct TtsConfig {
pub voice: Voice,
pub speed: f32,
pub volume: f32,
}Expand description
TTS configuration
Fields§
§voice: Voice§speed: f32§volume: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for TtsConfig
impl RefUnwindSafe for TtsConfig
impl Send for TtsConfig
impl Sync for TtsConfig
impl Unpin for TtsConfig
impl UnwindSafe for TtsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more