windows::Win32::UI::Accessibility

Trait ITextProvider_Impl

pub trait ITextProvider_Impl: IUnknownImpl {
    // Required methods
    fn GetSelection(&self) -> Result<*mut SAFEARRAY>;
    fn GetVisibleRanges(&self) -> Result<*mut SAFEARRAY>;
    fn RangeFromChild(
        &self,
        childelement: Ref<'_, IRawElementProviderSimple>,
    ) -> Result<ITextRangeProvider>;
    fn RangeFromPoint(&self, point: &UiaPoint) -> Result<ITextRangeProvider>;
    fn DocumentRange(&self) -> Result<ITextRangeProvider>;
    fn SupportedTextSelection(&self) -> Result<SupportedTextSelection>;
}

Required Methods§

fn GetSelection(&self) -> Result<*mut SAFEARRAY>

fn GetVisibleRanges(&self) -> Result<*mut SAFEARRAY>

fn RangeFromChild( &self, childelement: Ref<'_, IRawElementProviderSimple>, ) -> Result<ITextRangeProvider>

fn RangeFromPoint(&self, point: &UiaPoint) -> Result<ITextRangeProvider>

fn DocumentRange(&self) -> Result<ITextRangeProvider>

fn SupportedTextSelection(&self) -> Result<SupportedTextSelection>

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§