Struct tts::Tts[][src]

pub struct Tts(_);

Implementations

Create a new TTS instance with the specified backend.

Returns the features supported by this TTS engine

Speaks the specified text, optionally interrupting current speech.

Stops current speech.

Returns the minimum rate for this speech synthesizer.

Returns the maximum rate for this speech synthesizer.

Returns the normal rate for this speech synthesizer.

Gets the current speech rate.

Sets the desired speech rate.

Returns the minimum pitch for this speech synthesizer.

Returns the maximum pitch for this speech synthesizer.

Returns the normal pitch for this speech synthesizer.

Gets the current speech pitch.

Sets the desired speech pitch.

Returns the minimum volume for this speech synthesizer.

Returns the maximum volume for this speech synthesizer.

Returns the normal volume for this speech synthesizer.

Gets the current speech volume.

Sets the desired speech volume.

Returns whether this speech synthesizer is speaking.

Called when this speech synthesizer begins speaking an utterance.

Called when this speech synthesizer finishes speaking an utterance.

Called when this speech synthesizer is stopped and still has utterances in its queue.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Executes the destructor for this type. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.