pub struct SpeechSynthesisVisemeEvent {
pub handle: SmartHandle<SPXEVENTHANDLE>,
pub audio_offset: u64,
pub viseme_id: u32,
pub animation: String,
}
Expand description
Event passed into speech synthetizer’s callback set_synthesizer_viseme_cb.
Fields
handle: SmartHandle<SPXEVENTHANDLE>
audio_offset: u64
viseme_id: u32
animation: String
Implementations
sourceimpl SpeechSynthesisVisemeEvent
impl SpeechSynthesisVisemeEvent
pub fn from_handle(handle: SPXEVENTHANDLE) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpeechSynthesisVisemeEvent
impl Send for SpeechSynthesisVisemeEvent
impl !Sync for SpeechSynthesisVisemeEvent
impl Unpin for SpeechSynthesisVisemeEvent
impl UnwindSafe for SpeechSynthesisVisemeEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more