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