Struct windows::Win32::Media::Speech::ISpRecoGrammar_Vtbl

#[repr(C)]
pub struct ISpRecoGrammar_Vtbl {
Show 19 fields pub base__: ISpGrammarBuilder_Vtbl, pub GetGrammarId: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT, pub GetRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub LoadCmdFromFile: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT, pub LoadCmdFromObject: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT, pub LoadCmdFromResource: unsafe extern "system" fn(_: *mut c_void, _: HMODULE, _: PCWSTR, _: PCWSTR, _: u16, _: SPLOADOPTIONS) -> HRESULT, pub LoadCmdFromMemory: unsafe extern "system" fn(_: *mut c_void, _: *const SPBINARYGRAMMAR, _: SPLOADOPTIONS) -> HRESULT, pub LoadCmdFromProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: *const c_void, _: u32, _: SPLOADOPTIONS) -> HRESULT, pub SetRuleState: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: SPRULESTATE) -> HRESULT, pub SetRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: SPRULESTATE) -> HRESULT, pub LoadDictation: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT, pub UnloadDictation: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetDictationState: unsafe extern "system" fn(_: *mut c_void, _: SPRULESTATE) -> HRESULT, pub SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *const SPTEXTSELECTIONINFO) -> HRESULT, pub SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *const SPTEXTSELECTIONINFO) -> HRESULT, pub IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut SPWORDPRONOUNCEABLE) -> HRESULT, pub SetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: SPGRAMMARSTATE) -> HRESULT, pub SaveCmd: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut PWSTR) -> HRESULT, pub GetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: *mut SPGRAMMARSTATE) -> HRESULT,
}

Fields§

§base__: ISpGrammarBuilder_Vtbl§GetGrammarId: unsafe extern "system" fn(_: *mut c_void, _: *mut u64) -> HRESULT§GetRecoContext: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§LoadCmdFromFile: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT§LoadCmdFromObject: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT§LoadCmdFromResource: unsafe extern "system" fn(_: *mut c_void, _: HMODULE, _: PCWSTR, _: PCWSTR, _: u16, _: SPLOADOPTIONS) -> HRESULT§LoadCmdFromMemory: unsafe extern "system" fn(_: *mut c_void, _: *const SPBINARYGRAMMAR, _: SPLOADOPTIONS) -> HRESULT§LoadCmdFromProprietaryGrammar: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: PCWSTR, _: *const c_void, _: u32, _: SPLOADOPTIONS) -> HRESULT§SetRuleState: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: SPRULESTATE) -> HRESULT§SetRuleIdState: unsafe extern "system" fn(_: *mut c_void, _: u32, _: SPRULESTATE) -> HRESULT§LoadDictation: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: SPLOADOPTIONS) -> HRESULT§UnloadDictation: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetDictationState: unsafe extern "system" fn(_: *mut c_void, _: SPRULESTATE) -> HRESULT§SetWordSequenceData: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *const SPTEXTSELECTIONINFO) -> HRESULT§SetTextSelection: unsafe extern "system" fn(_: *mut c_void, _: *const SPTEXTSELECTIONINFO) -> HRESULT§IsPronounceable: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut SPWORDPRONOUNCEABLE) -> HRESULT§SetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: SPGRAMMARSTATE) -> HRESULT§SaveCmd: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut PWSTR) -> HRESULT§GetGrammarState: unsafe extern "system" fn(_: *mut c_void, _: *mut SPGRAMMARSTATE) -> HRESULT

Implementations§

§

impl ISpRecoGrammar_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ISpRecoGrammar_Vtbl
where Identity: ISpRecoGrammar_Impl + IUnknownImpl,

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>,

§

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>,

§

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.