pub struct IUIAutomationTextPattern2(/* private fields */);
Implementations§
Source§impl IUIAutomationTextPattern2
impl IUIAutomationTextPattern2
pub unsafe fn RangeFromPoint<'a>( &self, pt: impl IntoParam<'a, POINT>, ) -> Result<IUIAutomationTextRange>
pub unsafe fn RangeFromChild<'a>( &self, child: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationTextRange>
pub unsafe fn GetSelection(&self) -> Result<IUIAutomationTextRangeArray>
pub unsafe fn GetVisibleRanges(&self) -> Result<IUIAutomationTextRangeArray>
pub unsafe fn get_DocumentRange(&self) -> Result<IUIAutomationTextRange>
pub unsafe fn get_SupportedTextSelection( &self, ) -> Result<SupportedTextSelection>
pub unsafe fn RangeFromAnnotation<'a>( &self, annotation: impl IntoParam<'a, IUIAutomationElement>, ) -> Result<IUIAutomationTextRange>
pub unsafe fn GetCaretRange( &self, isactive: *mut BOOL, range: *mut Option<IUIAutomationTextRange>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IUIAutomationTextPattern2
impl Clone for IUIAutomationTextPattern2
Source§fn clone(&self) -> IUIAutomationTextPattern2
fn clone(&self) -> IUIAutomationTextPattern2
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 IUIAutomationTextPattern2
impl Debug for IUIAutomationTextPattern2
Source§impl From<&IUIAutomationTextPattern2> for IUIAutomationTextPattern
impl From<&IUIAutomationTextPattern2> for IUIAutomationTextPattern
Source§fn from(value: &IUIAutomationTextPattern2) -> Self
fn from(value: &IUIAutomationTextPattern2) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationTextPattern2> for IUnknown
impl From<&IUIAutomationTextPattern2> for IUnknown
Source§fn from(value: &IUIAutomationTextPattern2) -> Self
fn from(value: &IUIAutomationTextPattern2) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationTextPattern2> for IUIAutomationTextPattern
impl From<IUIAutomationTextPattern2> for IUIAutomationTextPattern
Source§fn from(value: IUIAutomationTextPattern2) -> Self
fn from(value: IUIAutomationTextPattern2) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationTextPattern2> for IUnknown
impl From<IUIAutomationTextPattern2> for IUnknown
Source§fn from(value: IUIAutomationTextPattern2) -> Self
fn from(value: IUIAutomationTextPattern2) -> Self
Converts to this type from the input type.
Source§impl Interface for IUIAutomationTextPattern2
impl Interface for IUIAutomationTextPattern2
const IID: Guid
type Vtable = IUIAutomationTextPattern2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
impl Eq for IUIAutomationTextPattern2
impl StructuralPartialEq for IUIAutomationTextPattern2
Auto Trait Implementations§
impl Freeze for IUIAutomationTextPattern2
impl RefUnwindSafe for IUIAutomationTextPattern2
impl !Send for IUIAutomationTextPattern2
impl !Sync for IUIAutomationTextPattern2
impl Unpin for IUIAutomationTextPattern2
impl UnwindSafe for IUIAutomationTextPattern2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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