pub trait IUIAutomationTextRange_Impl: Sized {
Show 18 methods // Required methods fn Clone(&self) -> Result<IUIAutomationTextRange>; fn Compare(&self, range: Option<&IUIAutomationTextRange>) -> Result<BOOL>; fn CompareEndpoints( &self, srcendpoint: TextPatternRangeEndpoint, range: Option<&IUIAutomationTextRange>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<i32>; fn ExpandToEnclosingUnit(&self, textunit: TextUnit) -> Result<()>; fn FindAttribute( &self, attr: UIA_TEXTATTRIBUTE_ID, val: &VARIANT, backward: BOOL, ) -> Result<IUIAutomationTextRange>; fn FindText( &self, text: &BSTR, backward: BOOL, ignorecase: BOOL, ) -> Result<IUIAutomationTextRange>; fn GetAttributeValue(&self, attr: UIA_TEXTATTRIBUTE_ID) -> Result<VARIANT>; fn GetBoundingRectangles(&self) -> Result<*mut SAFEARRAY>; fn GetEnclosingElement(&self) -> Result<IUIAutomationElement>; fn GetText(&self, maxlength: i32) -> Result<BSTR>; fn Move(&self, unit: TextUnit, count: i32) -> Result<i32>; fn MoveEndpointByUnit( &self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32, ) -> Result<i32>; fn MoveEndpointByRange( &self, srcendpoint: TextPatternRangeEndpoint, range: Option<&IUIAutomationTextRange>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<()>; fn Select(&self) -> Result<()>; fn AddToSelection(&self) -> Result<()>; fn RemoveFromSelection(&self) -> Result<()>; fn ScrollIntoView(&self, aligntotop: BOOL) -> Result<()>; fn GetChildren(&self) -> Result<IUIAutomationElementArray>;
}

Required Methods§

fn Clone(&self) -> Result<IUIAutomationTextRange>

fn Compare(&self, range: Option<&IUIAutomationTextRange>) -> Result<BOOL>

fn CompareEndpoints( &self, srcendpoint: TextPatternRangeEndpoint, range: Option<&IUIAutomationTextRange>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<i32>

fn ExpandToEnclosingUnit(&self, textunit: TextUnit) -> Result<()>

fn FindAttribute( &self, attr: UIA_TEXTATTRIBUTE_ID, val: &VARIANT, backward: BOOL, ) -> Result<IUIAutomationTextRange>

fn FindText( &self, text: &BSTR, backward: BOOL, ignorecase: BOOL, ) -> Result<IUIAutomationTextRange>

fn GetAttributeValue(&self, attr: UIA_TEXTATTRIBUTE_ID) -> Result<VARIANT>

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

fn GetEnclosingElement(&self) -> Result<IUIAutomationElement>

fn GetText(&self, maxlength: i32) -> Result<BSTR>

fn Move(&self, unit: TextUnit, count: i32) -> Result<i32>

fn MoveEndpointByUnit( &self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32, ) -> Result<i32>

fn MoveEndpointByRange( &self, srcendpoint: TextPatternRangeEndpoint, range: Option<&IUIAutomationTextRange>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<()>

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

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

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

fn ScrollIntoView(&self, aligntotop: BOOL) -> Result<()>

fn GetChildren(&self) -> Result<IUIAutomationElementArray>

Object Safety§

This trait is not object safe.

Implementors§