ISpeechRecoGrammarVtbl

Struct ISpeechRecoGrammarVtbl 

Source
#[repr(C)]
pub struct ISpeechRecoGrammarVtbl {
Show 20 fields pub parent: IDispatchVtbl, pub get_Id: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Id: *mut VARIANT) -> HRESULT, pub get_RecoContext: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RecoContext: *mut *mut ISpeechRecoContext) -> HRESULT, pub put_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechGrammarState) -> HRESULT, pub get_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: *mut SpeechGrammarState) -> HRESULT, pub get_Rules: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Rules: *mut *mut ISpeechGrammarRules) -> HRESULT, pub Reset: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, NewLanguage: SpeechLanguageId) -> HRESULT, pub CmdLoadFromFile: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, FileName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT, pub CmdLoadFromObject: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ClassId: BSTR, GrammarName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT, pub CmdLoadFromResource: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, hModule: c_long, ResourceName: VARIANT, ResourceType: VARIANT, LanguageId: SpeechLanguageId, LoadOption: SpeechLoadOption) -> HRESULT, pub CmdLoadFromMemory: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, GrammarData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT, pub CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ProprietaryGuid: BSTR, PriorietaryString: BSTR, ProprietaryData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT, pub CmdSetRuleState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Name: BSTR, State: SpeechRuleState) -> HRESULT, pub CmdSetRuleIdState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RuleId: c_long, State: SpeechRuleState) -> HRESULT, pub DictationLoad: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, TopicName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT, pub DictationUnload: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar) -> HRESULT, pub DictationSetState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechRuleState) -> HRESULT, pub SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Text: BSTR, TextLength: c_long, Info: *mut ISpeechTextSelectionInformation) -> HRESULT, pub SetTextSelection: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Info: *mut ISpeechTextSelectionInformation) -> HRESULT, pub IsPronounceable: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Word: BSTR, WordPronounceable: *mut SpeechWordPronounceable) -> HRESULT,
}

Fields§

§parent: IDispatchVtbl§get_Id: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Id: *mut VARIANT) -> HRESULT§get_RecoContext: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RecoContext: *mut *mut ISpeechRecoContext) -> HRESULT§put_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechGrammarState) -> HRESULT§get_State: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: *mut SpeechGrammarState) -> HRESULT§get_Rules: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Rules: *mut *mut ISpeechGrammarRules) -> HRESULT§Reset: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, NewLanguage: SpeechLanguageId) -> HRESULT§CmdLoadFromFile: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, FileName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT§CmdLoadFromObject: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ClassId: BSTR, GrammarName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT§CmdLoadFromResource: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, hModule: c_long, ResourceName: VARIANT, ResourceType: VARIANT, LanguageId: SpeechLanguageId, LoadOption: SpeechLoadOption) -> HRESULT§CmdLoadFromMemory: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, GrammarData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT§CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, ProprietaryGuid: BSTR, PriorietaryString: BSTR, ProprietaryData: VARIANT, LoadOption: SpeechLoadOption) -> HRESULT§CmdSetRuleState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Name: BSTR, State: SpeechRuleState) -> HRESULT§CmdSetRuleIdState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, RuleId: c_long, State: SpeechRuleState) -> HRESULT§DictationLoad: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, TopicName: BSTR, LoadOption: SpeechLoadOption) -> HRESULT§DictationUnload: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar) -> HRESULT§DictationSetState: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, State: SpeechRuleState) -> HRESULT§SetWordSequenceData: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Text: BSTR, TextLength: c_long, Info: *mut ISpeechTextSelectionInformation) -> HRESULT§SetTextSelection: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Info: *mut ISpeechTextSelectionInformation) -> HRESULT§IsPronounceable: unsafe extern "system" fn(This: *mut ISpeechRecoGrammar, Word: BSTR, WordPronounceable: *mut SpeechWordPronounceable) -> HRESULT

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.