windows::Win32::System::Search

Trait IWordBreaker_Impl

pub trait IWordBreaker_Impl: IUnknownImpl {
    // Required methods
    fn Init(
        &self,
        fquery: BOOL,
        ulmaxtokensize: u32,
        pflicense: *mut BOOL,
    ) -> Result<()>;
    fn BreakText(
        &self,
        ptextsource: *mut TEXT_SOURCE,
        pwordsink: Ref<'_, IWordSink>,
        pphrasesink: Ref<'_, IPhraseSink>,
    ) -> Result<()>;
    fn ComposePhrase(
        &self,
        pwcnoun: &PCWSTR,
        cwcnoun: u32,
        pwcmodifier: &PCWSTR,
        cwcmodifier: u32,
        ulattachmenttype: u32,
        pwcphrase: &PCWSTR,
        pcwcphrase: *mut u32,
    ) -> Result<()>;
    fn GetLicenseToUse(&self, ppwcslicense: *const *const u16) -> Result<()>;
}

Required Methods§

fn Init( &self, fquery: BOOL, ulmaxtokensize: u32, pflicense: *mut BOOL, ) -> Result<()>

fn BreakText( &self, ptextsource: *mut TEXT_SOURCE, pwordsink: Ref<'_, IWordSink>, pphrasesink: Ref<'_, IPhraseSink>, ) -> Result<()>

fn ComposePhrase( &self, pwcnoun: &PCWSTR, cwcnoun: u32, pwcmodifier: &PCWSTR, cwcmodifier: u32, ulattachmenttype: u32, pwcphrase: &PCWSTR, pcwcphrase: *mut u32, ) -> Result<()>

fn GetLicenseToUse(&self, ppwcslicense: *const *const u16) -> 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§