pub struct SpeechSynthesisBookmarkEvent {
pub handle: SmartHandle<SPXEVENTHANDLE>,
pub audio_offset: u64,
pub text: String,
}
Expand description
Event passed into speech synthetizer’s callback set_synthesizer_bookmark_cb.
Fields
handle: SmartHandle<SPXEVENTHANDLE>
audio_offset: u64
text: String
Implementations
sourceimpl SpeechSynthesisBookmarkEvent
impl SpeechSynthesisBookmarkEvent
pub fn from_handle(handle: SPXEVENTHANDLE) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpeechSynthesisBookmarkEvent
impl Send for SpeechSynthesisBookmarkEvent
impl !Sync for SpeechSynthesisBookmarkEvent
impl Unpin for SpeechSynthesisBookmarkEvent
impl UnwindSafe for SpeechSynthesisBookmarkEvent
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