pub struct IUIAutomationTextRange(/* private fields */);Implementations§
Source§impl IUIAutomationTextRange
impl IUIAutomationTextRange
pub unsafe fn Clone(&self) -> Result<IUIAutomationTextRange, Error>
pub unsafe fn Compare<'a>( &self, range: impl IntoParam<'a, IUIAutomationTextRange>, ) -> Result<BOOL, Error>
pub unsafe fn CompareEndpoints<'a>( &self, srcendpoint: TextPatternRangeEndpoint, range: impl IntoParam<'a, IUIAutomationTextRange>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<i32, Error>
pub unsafe fn ExpandToEnclosingUnit( &self, textunit: TextUnit, ) -> Result<(), Error>
pub unsafe fn FindAttribute<'a>( &self, attr: i32, val: impl IntoParam<'a, VARIANT>, backward: impl IntoParam<'a, BOOL>, ) -> Result<IUIAutomationTextRange, Error>
pub unsafe fn FindText<'a>( &self, text: impl IntoParam<'a, BSTR>, backward: impl IntoParam<'a, BOOL>, ignorecase: impl IntoParam<'a, BOOL>, ) -> Result<IUIAutomationTextRange, Error>
pub unsafe fn GetAttributeValue(&self, attr: i32) -> Result<VARIANT, Error>
pub unsafe fn GetBoundingRectangles(&self) -> Result<*mut SAFEARRAY, Error>
pub unsafe fn GetEnclosingElement(&self) -> Result<IUIAutomationElement, Error>
pub unsafe fn GetText(&self, maxlength: i32) -> Result<BSTR, Error>
pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> Result<i32, Error>
pub unsafe fn MoveEndpointByUnit( &self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32, ) -> Result<i32, Error>
pub unsafe fn MoveEndpointByRange<'a>( &self, srcendpoint: TextPatternRangeEndpoint, range: impl IntoParam<'a, IUIAutomationTextRange>, targetendpoint: TextPatternRangeEndpoint, ) -> Result<(), Error>
pub unsafe fn Select(&self) -> Result<(), Error>
pub unsafe fn AddToSelection(&self) -> Result<(), Error>
pub unsafe fn RemoveFromSelection(&self) -> Result<(), Error>
pub unsafe fn ScrollIntoView<'a>( &self, aligntotop: impl IntoParam<'a, BOOL>, ) -> Result<(), Error>
pub unsafe fn GetChildren(&self) -> Result<IUIAutomationElementArray, Error>
Trait Implementations§
Source§impl Clone for IUIAutomationTextRange
impl Clone for IUIAutomationTextRange
Source§fn clone(&self) -> IUIAutomationTextRange
fn clone(&self) -> IUIAutomationTextRange
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IUIAutomationTextRange
impl Debug for IUIAutomationTextRange
Source§impl From<&IUIAutomationTextRange2> for IUIAutomationTextRange
impl From<&IUIAutomationTextRange2> for IUIAutomationTextRange
Source§fn from(value: &IUIAutomationTextRange2) -> IUIAutomationTextRange
fn from(value: &IUIAutomationTextRange2) -> IUIAutomationTextRange
Converts to this type from the input type.
Source§impl From<&IUIAutomationTextRange3> for IUIAutomationTextRange
impl From<&IUIAutomationTextRange3> for IUIAutomationTextRange
Source§fn from(value: &IUIAutomationTextRange3) -> IUIAutomationTextRange
fn from(value: &IUIAutomationTextRange3) -> IUIAutomationTextRange
Converts to this type from the input type.
Source§impl From<IUIAutomationTextRange2> for IUIAutomationTextRange
impl From<IUIAutomationTextRange2> for IUIAutomationTextRange
Source§fn from(value: IUIAutomationTextRange2) -> IUIAutomationTextRange
fn from(value: IUIAutomationTextRange2) -> IUIAutomationTextRange
Converts to this type from the input type.
Source§impl From<IUIAutomationTextRange3> for IUIAutomationTextRange
impl From<IUIAutomationTextRange3> for IUIAutomationTextRange
Source§fn from(value: IUIAutomationTextRange3) -> IUIAutomationTextRange
fn from(value: IUIAutomationTextRange3) -> IUIAutomationTextRange
Converts to this type from the input type.
Source§impl Interface for IUIAutomationTextRange
impl Interface for IUIAutomationTextRange
Source§impl PartialEq for IUIAutomationTextRange
impl PartialEq for IUIAutomationTextRange
impl Eq for IUIAutomationTextRange
impl StructuralPartialEq for IUIAutomationTextRange
Auto Trait Implementations§
impl Freeze for IUIAutomationTextRange
impl RefUnwindSafe for IUIAutomationTextRange
impl !Send for IUIAutomationTextRange
impl !Sync for IUIAutomationTextRange
impl Unpin for IUIAutomationTextRange
impl UnwindSafe for IUIAutomationTextRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more