Struct windows::Win32::Media::Speech::ISpRecoGrammar2_Vtbl
#[repr(C)]pub struct ISpRecoGrammar2_Vtbl {
pub base__: IUnknown_Vtbl,
pub GetRules: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut SPRULE, _: *mut u32) -> HRESULT,
pub LoadCmdFromFile2: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS, _: PCWSTR, _: PCWSTR) -> HRESULT,
pub LoadCmdFromMemory2: unsafe extern "system" fn(_: *mut c_void, _: *const SPBINARYGRAMMAR, _: SPLOADOPTIONS, _: PCWSTR, _: PCWSTR) -> HRESULT,
pub SetRulePriority: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: i32) -> HRESULT,
pub SetRuleWeight: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: f32) -> HRESULT,
pub SetDictationWeight: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub SetGrammarLoader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub SetSMLSecurityManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetRules: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut SPRULE, _: *mut u32) -> HRESULT
§LoadCmdFromFile2: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS, _: PCWSTR, _: PCWSTR) -> HRESULT
§LoadCmdFromMemory2: unsafe extern "system" fn(_: *mut c_void, _: *const SPBINARYGRAMMAR, _: SPLOADOPTIONS, _: PCWSTR, _: PCWSTR) -> HRESULT
§SetRulePriority: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: i32) -> HRESULT
§SetRuleWeight: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: f32) -> HRESULT
§SetDictationWeight: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
§SetGrammarLoader: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§SetSMLSecurityManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
Implementations§
§impl ISpRecoGrammar2_Vtbl
impl ISpRecoGrammar2_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ISpRecoGrammar2_Vtblwhere
Identity: ISpRecoGrammar2_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISpRecoGrammar2_Vtbl
impl RefUnwindSafe for ISpRecoGrammar2_Vtbl
impl Send for ISpRecoGrammar2_Vtbl
impl Sync for ISpRecoGrammar2_Vtbl
impl Unpin for ISpRecoGrammar2_Vtbl
impl UnwindSafe for ISpRecoGrammar2_Vtbl
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