pub struct RecognitionEvent {
pub base: SessionEvent,
pub offset: u64,
}
Expand description
Recognition event extending SessionEvent passed into callbacks set_speech_start_detected_cb and set_speech_end_detected_cb.
Fields
base: SessionEvent
offset: u64
Implementations
sourceimpl RecognitionEvent
impl RecognitionEvent
pub fn from_handle(handle: SPXEVENTHANDLE) -> Result<RecognitionEvent>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RecognitionEvent
impl Send for RecognitionEvent
impl !Sync for RecognitionEvent
impl Unpin for RecognitionEvent
impl UnwindSafe for RecognitionEvent
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