windows::Win32::UI::Accessibility

Trait IUIAutomationElement7_Impl

pub trait IUIAutomationElement7_Impl: IUIAutomationElement6_Impl {
    // Required methods
    fn FindFirstWithOptions(
        &self,
        scope: TreeScope,
        condition: Ref<'_, IUIAutomationCondition>,
        traversaloptions: TreeTraversalOptions,
        root: Ref<'_, IUIAutomationElement>,
    ) -> Result<IUIAutomationElement>;
    fn FindAllWithOptions(
        &self,
        scope: TreeScope,
        condition: Ref<'_, IUIAutomationCondition>,
        traversaloptions: TreeTraversalOptions,
        root: Ref<'_, IUIAutomationElement>,
    ) -> Result<IUIAutomationElementArray>;
    fn FindFirstWithOptionsBuildCache(
        &self,
        scope: TreeScope,
        condition: Ref<'_, IUIAutomationCondition>,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        traversaloptions: TreeTraversalOptions,
        root: Ref<'_, IUIAutomationElement>,
    ) -> Result<IUIAutomationElement>;
    fn FindAllWithOptionsBuildCache(
        &self,
        scope: TreeScope,
        condition: Ref<'_, IUIAutomationCondition>,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        traversaloptions: TreeTraversalOptions,
        root: Ref<'_, IUIAutomationElement>,
    ) -> Result<IUIAutomationElementArray>;
    fn GetCurrentMetadataValue(
        &self,
        targetid: i32,
        metadataid: UIA_METADATA_ID,
    ) -> Result<VARIANT>;
}

Required Methods§

fn FindFirstWithOptions( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, traversaloptions: TreeTraversalOptions, root: Ref<'_, IUIAutomationElement>, ) -> Result<IUIAutomationElement>

fn FindAllWithOptions( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, traversaloptions: TreeTraversalOptions, root: Ref<'_, IUIAutomationElement>, ) -> Result<IUIAutomationElementArray>

fn FindFirstWithOptionsBuildCache( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, cacherequest: Ref<'_, IUIAutomationCacheRequest>, traversaloptions: TreeTraversalOptions, root: Ref<'_, IUIAutomationElement>, ) -> Result<IUIAutomationElement>

fn FindAllWithOptionsBuildCache( &self, scope: TreeScope, condition: Ref<'_, IUIAutomationCondition>, cacherequest: Ref<'_, IUIAutomationCacheRequest>, traversaloptions: TreeTraversalOptions, root: Ref<'_, IUIAutomationElement>, ) -> Result<IUIAutomationElementArray>

fn GetCurrentMetadataValue( &self, targetid: i32, metadataid: UIA_METADATA_ID, ) -> Result<VARIANT>

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§