windows::Win32::Media::Speech

Trait ISpSREngineSite2_Impl

pub trait ISpSREngineSite2_Impl: ISpSREngineSite_Impl {
    // Required methods
    fn AddEventEx(
        &self,
        pevent: *const SPEVENTEX,
        hsapirecocontext: SPRECOCONTEXTHANDLE,
    ) -> Result<()>;
    fn UpdateRecoPosEx(
        &self,
        ullcurrentrecopos: u64,
        ullcurrentrecotime: u64,
    ) -> Result<()>;
    fn GetRuleTransition(
        &self,
        ulgrammarid: u32,
        ruleindex: u32,
        ptrans: *mut SPTRANSITIONENTRY,
    ) -> Result<()>;
    fn RecognitionEx(
        &self,
        presultinfo: *const SPRECORESULTINFOEX,
    ) -> Result<()>;
}

Required Methods§

fn AddEventEx( &self, pevent: *const SPEVENTEX, hsapirecocontext: SPRECOCONTEXTHANDLE, ) -> Result<()>

fn UpdateRecoPosEx( &self, ullcurrentrecopos: u64, ullcurrentrecotime: u64, ) -> Result<()>

fn GetRuleTransition( &self, ulgrammarid: u32, ruleindex: u32, ptrans: *mut SPTRANSITIONENTRY, ) -> Result<()>

fn RecognitionEx(&self, presultinfo: *const SPRECORESULTINFOEX) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§