windows::Win32::System::Search

Trait IConditionGenerator_Impl

pub trait IConditionGenerator_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(
        &self,
        pschemaprovider: Ref<'_, ISchemaProvider>,
    ) -> Result<()>;
    fn RecognizeNamedEntities(
        &self,
        pszinputstring: &PCWSTR,
        lciduserlocale: u32,
        ptokencollection: Ref<'_, ITokenCollection>,
        pnamedentities: Ref<'_, INamedEntityCollector>,
    ) -> Result<()>;
    fn GenerateForLeaf(
        &self,
        pconditionfactory: Ref<'_, IConditionFactory>,
        pszpropertyname: &PCWSTR,
        cop: CONDITION_OPERATION,
        pszvaluetype: &PCWSTR,
        pszvalue: &PCWSTR,
        pszvalue2: &PCWSTR,
        ppropertynameterm: Ref<'_, IRichChunk>,
        poperationterm: Ref<'_, IRichChunk>,
        pvalueterm: Ref<'_, IRichChunk>,
        automaticwildcard: BOOL,
        pnostringquery: *mut BOOL,
    ) -> Result<ICondition>;
    fn DefaultPhrase(
        &self,
        pszvaluetype: &PCWSTR,
        ppropvar: *const PROPVARIANT,
        fuseenglish: BOOL,
        ppszphrase: *mut PWSTR,
    ) -> Result<()>;
}

Required Methods§

fn Initialize(&self, pschemaprovider: Ref<'_, ISchemaProvider>) -> Result<()>

fn RecognizeNamedEntities( &self, pszinputstring: &PCWSTR, lciduserlocale: u32, ptokencollection: Ref<'_, ITokenCollection>, pnamedentities: Ref<'_, INamedEntityCollector>, ) -> Result<()>

fn GenerateForLeaf( &self, pconditionfactory: Ref<'_, IConditionFactory>, pszpropertyname: &PCWSTR, cop: CONDITION_OPERATION, pszvaluetype: &PCWSTR, pszvalue: &PCWSTR, pszvalue2: &PCWSTR, ppropertynameterm: Ref<'_, IRichChunk>, poperationterm: Ref<'_, IRichChunk>, pvalueterm: Ref<'_, IRichChunk>, automaticwildcard: BOOL, pnostringquery: *mut BOOL, ) -> Result<ICondition>

fn DefaultPhrase( &self, pszvaluetype: &PCWSTR, ppropvar: *const PROPVARIANT, fuseenglish: BOOL, ppszphrase: *mut PWSTR, ) -> 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§