Struct tts::TTS

source ·
pub struct TTS(_);

Implementations§

Create a new TTS instance with the specified backend.

Speaks the specified text, optionally interrupting current speech.

Stops current speech.

Gets the current speech rate.

Sets the desired speech rate.

Gets the current speech pitch.

Sets the desired speech pitch.

Gets the current speech volume.

Sets the desired speech volume.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.