windows::Win32::UI::Accessibility

Trait IUIAutomation6_Impl

pub trait IUIAutomation6_Impl: IUIAutomation5_Impl {
    // Required methods
    fn CreateEventHandlerGroup(&self) -> Result<IUIAutomationEventHandlerGroup>;
    fn AddEventHandlerGroup(
        &self,
        element: Ref<'_, IUIAutomationElement>,
        handlergroup: Ref<'_, IUIAutomationEventHandlerGroup>,
    ) -> Result<()>;
    fn RemoveEventHandlerGroup(
        &self,
        element: Ref<'_, IUIAutomationElement>,
        handlergroup: Ref<'_, IUIAutomationEventHandlerGroup>,
    ) -> Result<()>;
    fn ConnectionRecoveryBehavior(
        &self,
    ) -> Result<ConnectionRecoveryBehaviorOptions>;
    fn SetConnectionRecoveryBehavior(
        &self,
        connectionrecoverybehavioroptions: ConnectionRecoveryBehaviorOptions,
    ) -> Result<()>;
    fn CoalesceEvents(&self) -> Result<CoalesceEventsOptions>;
    fn SetCoalesceEvents(
        &self,
        coalesceeventsoptions: CoalesceEventsOptions,
    ) -> Result<()>;
    fn AddActiveTextPositionChangedEventHandler(
        &self,
        element: Ref<'_, IUIAutomationElement>,
        scope: TreeScope,
        cacherequest: Ref<'_, IUIAutomationCacheRequest>,
        handler: Ref<'_, IUIAutomationActiveTextPositionChangedEventHandler>,
    ) -> Result<()>;
    fn RemoveActiveTextPositionChangedEventHandler(
        &self,
        element: Ref<'_, IUIAutomationElement>,
        handler: Ref<'_, IUIAutomationActiveTextPositionChangedEventHandler>,
    ) -> Result<()>;
}

Required Methods§

fn CreateEventHandlerGroup(&self) -> Result<IUIAutomationEventHandlerGroup>

fn AddEventHandlerGroup( &self, element: Ref<'_, IUIAutomationElement>, handlergroup: Ref<'_, IUIAutomationEventHandlerGroup>, ) -> Result<()>

fn RemoveEventHandlerGroup( &self, element: Ref<'_, IUIAutomationElement>, handlergroup: Ref<'_, IUIAutomationEventHandlerGroup>, ) -> Result<()>

fn ConnectionRecoveryBehavior( &self, ) -> Result<ConnectionRecoveryBehaviorOptions>

fn SetConnectionRecoveryBehavior( &self, connectionrecoverybehavioroptions: ConnectionRecoveryBehaviorOptions, ) -> Result<()>

fn CoalesceEvents(&self) -> Result<CoalesceEventsOptions>

fn SetCoalesceEvents( &self, coalesceeventsoptions: CoalesceEventsOptions, ) -> Result<()>

fn AddActiveTextPositionChangedEventHandler( &self, element: Ref<'_, IUIAutomationElement>, scope: TreeScope, cacherequest: Ref<'_, IUIAutomationCacheRequest>, handler: Ref<'_, IUIAutomationActiveTextPositionChangedEventHandler>, ) -> Result<()>

fn RemoveActiveTextPositionChangedEventHandler( &self, element: Ref<'_, IUIAutomationElement>, handler: Ref<'_, IUIAutomationActiveTextPositionChangedEventHandler>, ) -> 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§