#[repr(C)]pub struct IUIAutomationTextRange2 {
pub lpVtbl: *const IUIAutomationTextRange2Vtbl,
}
Fields§
§lpVtbl: *const IUIAutomationTextRange2Vtbl
Implementations§
Source§impl IUIAutomationTextRange2
impl IUIAutomationTextRange2
pub unsafe fn ShowContextMenu(&self) -> HRESULT
Methods from Deref<Target = IUIAutomationTextRange>§
pub unsafe fn Clone( &self, clonedRange: *mut *mut IUIAutomationTextRange, ) -> HRESULT
pub unsafe fn Compare( &self, range: *mut IUIAutomationTextRange, areSame: *mut BOOL, ) -> HRESULT
pub unsafe fn CompareEndpoints( &self, srcEndPoint: TextPatternRangeEndpoint, range: *mut IUIAutomationTextRange, targetEndPoint: TextPatternRangeEndpoint, compValue: *mut c_int, ) -> HRESULT
pub unsafe fn ExpandToEnclosingUnit(&self, textUnit: TextUnit) -> HRESULT
pub unsafe fn FindAttribute( &self, attr: TEXTATTRIBUTEID, val: VARIANT, backward: BOOL, found: *mut *mut IUIAutomationTextRange, ) -> HRESULT
pub unsafe fn FindText( &self, text: BSTR, backward: BOOL, ignoreCase: BOOL, found: *mut *mut IUIAutomationTextRange, ) -> HRESULT
pub unsafe fn GetAttributeValue( &self, attr: TEXTATTRIBUTEID, value: *mut VARIANT, ) -> HRESULT
pub unsafe fn GetBoundingRectangles( &self, boundingRects: *mut *mut SAFEARRAY, ) -> HRESULT
pub unsafe fn GetEnclosingElement( &self, enclosingElement: *mut *mut IUIAutomationElement, ) -> HRESULT
pub unsafe fn GetText(&self, maxLength: c_int, text: *mut BSTR) -> HRESULT
pub unsafe fn Move( &self, unit: TextUnit, count: c_int, moved: *mut c_int, ) -> HRESULT
pub unsafe fn MoveEndpointByUnit( &self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: c_int, moved: *mut c_int, ) -> HRESULT
pub unsafe fn MoveEndpointByRange( &self, srcEndPoint: TextPatternRangeEndpoint, range: *mut IUIAutomationTextRange, targetEndPoint: TextPatternRangeEndpoint, ) -> HRESULT
pub unsafe fn Select(&self) -> HRESULT
pub unsafe fn AddToSelection(&self) -> HRESULT
pub unsafe fn RemoveFromSelection(&self) -> HRESULT
pub unsafe fn ScrollIntoView(&self, alignToTop: BOOL) -> HRESULT
pub unsafe fn GetChildren( &self, children: *mut *mut IUIAutomationElementArray, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IUIAutomationTextRange2
impl Deref for IUIAutomationTextRange2
Source§type Target = IUIAutomationTextRange
type Target = IUIAutomationTextRange
The resulting type after dereferencing.
Source§fn deref(&self) -> &IUIAutomationTextRange
fn deref(&self) -> &IUIAutomationTextRange
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IUIAutomationTextRange2
impl RefUnwindSafe for IUIAutomationTextRange2
impl !Send for IUIAutomationTextRange2
impl !Sync for IUIAutomationTextRange2
impl Unpin for IUIAutomationTextRange2
impl UnwindSafe for IUIAutomationTextRange2
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