#[repr(C)]pub struct ISpRecoGrammar2Vtbl {
pub parent: IUnknownVtbl,
pub GetRules: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, ppCoMemRules: *mut *mut SPRULE, puNumRules: *mut UINT) -> HRESULT,
pub LoadCmdFromFile2: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pszFileName: LPCWSTR, Options: SPLOADOPTIONS, pszSharingUri: LPCWSTR, pszBaseUri: LPCWSTR) -> HRESULT,
pub LoadCmdFromMemory2: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pGrammar: *const SPBINARYGRAMMAR, Options: SPLOADOPTIONS, pszSharingUri: LPCWSTR, pszBaseUri: LPCWSTR) -> HRESULT,
pub SetRulePriority: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pszRuleName: LPCWSTR, ulRuleId: ULONG, nRulePriority: c_int) -> HRESULT,
pub SetRuleWeight: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pszRuleName: LPCWSTR, ulRuleId: ULONG, flWeight: c_float) -> HRESULT,
pub SetDictationWeight: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, flWeight: c_float) -> HRESULT,
pub SetGrammarLoader: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pLoader: *mut ISpeechResourceLoader) -> HRESULT,
pub SetSMLSecurityManager: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pSMLSecurityManager: *mut IInternetSecurityManager) -> HRESULT,
}
Fields§
§parent: IUnknownVtbl
§GetRules: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, ppCoMemRules: *mut *mut SPRULE, puNumRules: *mut UINT) -> HRESULT
§LoadCmdFromFile2: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pszFileName: LPCWSTR, Options: SPLOADOPTIONS, pszSharingUri: LPCWSTR, pszBaseUri: LPCWSTR) -> HRESULT
§LoadCmdFromMemory2: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pGrammar: *const SPBINARYGRAMMAR, Options: SPLOADOPTIONS, pszSharingUri: LPCWSTR, pszBaseUri: LPCWSTR) -> HRESULT
§SetRulePriority: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pszRuleName: LPCWSTR, ulRuleId: ULONG, nRulePriority: c_int) -> HRESULT
§SetRuleWeight: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pszRuleName: LPCWSTR, ulRuleId: ULONG, flWeight: c_float) -> HRESULT
§SetDictationWeight: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, flWeight: c_float) -> HRESULT
§SetGrammarLoader: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pLoader: *mut ISpeechResourceLoader) -> HRESULT
§SetSMLSecurityManager: unsafe extern "system" fn(This: *mut ISpRecoGrammar2, pSMLSecurityManager: *mut IInternetSecurityManager) -> HRESULT
Auto Trait Implementations§
impl Freeze for ISpRecoGrammar2Vtbl
impl RefUnwindSafe for ISpRecoGrammar2Vtbl
impl Send for ISpRecoGrammar2Vtbl
impl Sync for ISpRecoGrammar2Vtbl
impl Unpin for ISpRecoGrammar2Vtbl
impl UnwindSafe for ISpRecoGrammar2Vtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more