windows::Win32::Media::Speech

Trait ISpPhraseBuilder_Impl

pub trait ISpPhraseBuilder_Impl: ISpPhrase_Impl {
    // Required methods
    fn InitFromPhrase(&self, pphrase: *const SPPHRASE) -> Result<()>;
    fn InitFromSerializedPhrase(
        &self,
        pphrase: *const SPSERIALIZEDPHRASE,
    ) -> Result<()>;
    fn AddElements(
        &self,
        celements: u32,
        pelement: *const SPPHRASEELEMENT,
    ) -> Result<()>;
    fn AddRules(
        &self,
        hparent: SPPHRASERULEHANDLE,
        prule: *const SPPHRASERULE,
    ) -> Result<SPPHRASERULEHANDLE>;
    fn AddProperties(
        &self,
        hparent: SPPHRASEPROPERTYHANDLE,
        pproperty: *const SPPHRASEPROPERTY,
    ) -> Result<SPPHRASEPROPERTYHANDLE>;
    fn AddReplacements(
        &self,
        creplacements: u32,
        preplacements: *const SPPHRASEREPLACEMENT,
    ) -> Result<()>;
}

Required Methods§

fn InitFromPhrase(&self, pphrase: *const SPPHRASE) -> Result<()>

fn InitFromSerializedPhrase( &self, pphrase: *const SPSERIALIZEDPHRASE, ) -> Result<()>

fn AddElements( &self, celements: u32, pelement: *const SPPHRASEELEMENT, ) -> Result<()>

fn AddRules( &self, hparent: SPPHRASERULEHANDLE, prule: *const SPPHRASERULE, ) -> Result<SPPHRASERULEHANDLE>

fn AddProperties( &self, hparent: SPPHRASEPROPERTYHANDLE, pproperty: *const SPPHRASEPROPERTY, ) -> Result<SPPHRASEPROPERTYHANDLE>

fn AddReplacements( &self, creplacements: u32, preplacements: *const SPPHRASEREPLACEMENT, ) -> 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§