windows::Win32::Media::Speech

Struct ISpeechRecoContext_Vtbl

#[repr(C)]
pub struct ISpeechRecoContext_Vtbl {
Show 26 fields pub base__: IDispatch_Vtbl, pub Recognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub AudioInputInterferenceStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechInterference) -> HRESULT, pub RequestedUIType: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub putref_Voice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub Voice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetAllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub AllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetVoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecoEvents) -> HRESULT, pub VoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecoEvents) -> HRESULT, pub SetEventInterests: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecoEvents) -> HRESULT, pub EventInterests: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecoEvents) -> HRESULT, pub SetCmdMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub CmdMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecoContextState) -> HRESULT, pub State: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecoContextState) -> HRESULT, pub SetRetainedAudio: unsafe extern "system" fn(_: *mut c_void, _: SpeechRetainedAudioOptions) -> HRESULT, pub RetainedAudio: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRetainedAudioOptions) -> HRESULT, pub putref_RetainedAudioFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub RetainedAudioFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub CreateGrammar: unsafe extern "system" fn(_: *mut c_void, _: VARIANT, _: *mut *mut c_void) -> HRESULT, pub CreateResultFromMemory: unsafe extern "system" fn(_: *mut c_void, _: *const VARIANT, _: *mut *mut c_void) -> HRESULT, pub Bookmark: unsafe extern "system" fn(_: *mut c_void, _: SpeechBookmarkOptions, _: VARIANT, _: VARIANT) -> HRESULT, pub SetAdaptationData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§Recognizer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§AudioInputInterferenceStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechInterference) -> HRESULT§RequestedUIType: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§putref_Voice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§Voice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetAllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§AllowVoiceFormatMatchingOnNextSet: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetVoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecoEvents) -> HRESULT§VoicePurgeEvent: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecoEvents) -> HRESULT§SetEventInterests: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecoEvents) -> HRESULT§EventInterests: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecoEvents) -> HRESULT§SetCmdMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§CmdMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetState: unsafe extern "system" fn(_: *mut c_void, _: SpeechRecoContextState) -> HRESULT§State: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRecoContextState) -> HRESULT§SetRetainedAudio: unsafe extern "system" fn(_: *mut c_void, _: SpeechRetainedAudioOptions) -> HRESULT§RetainedAudio: unsafe extern "system" fn(_: *mut c_void, _: *mut SpeechRetainedAudioOptions) -> HRESULT§putref_RetainedAudioFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§RetainedAudioFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§CreateGrammar: unsafe extern "system" fn(_: *mut c_void, _: VARIANT, _: *mut *mut c_void) -> HRESULT§CreateResultFromMemory: unsafe extern "system" fn(_: *mut c_void, _: *const VARIANT, _: *mut *mut c_void) -> HRESULT§Bookmark: unsafe extern "system" fn(_: *mut c_void, _: SpeechBookmarkOptions, _: VARIANT, _: VARIANT) -> HRESULT§SetAdaptationData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT

Implementations§

§

impl ISpeechRecoContext_Vtbl

pub const fn new<Identity: ISpeechRecoContext_Impl, const OFFSET: isize>() -> Self

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.