pub struct SpeechSynthesisWordBoundaryEvent {
    pub handle: SmartHandle<SPXEVENTHANDLE>,
    pub audio_offset: u64,
    pub duration_ms: u64,
    pub text_offset: u32,
    pub word_length: u32,
    pub boundary_type: SpeechSynthesisBoundaryType,
}
Expand description

Event passed into speech synthetizer’s callback set_synthesizer_word_boundary_cb.

Fields

handle: SmartHandle<SPXEVENTHANDLE>audio_offset: u64duration_ms: u64text_offset: u32word_length: u32boundary_type: SpeechSynthesisBoundaryType

Implementations

Trait Implementations

Formats the value using the given formatter. 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

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.