pub struct IUIAutomationTextPattern(/* private fields */);
Implementations§
Source§impl IUIAutomationTextPattern
impl IUIAutomationTextPattern
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>
Trait Implementations§
Source§impl Clone for IUIAutomationTextPattern
impl Clone for IUIAutomationTextPattern
Source§fn clone(&self) -> IUIAutomationTextPattern
fn clone(&self) -> IUIAutomationTextPattern
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 IUIAutomationTextPattern
impl Debug for IUIAutomationTextPattern
Source§impl From<&IUIAutomationTextEditPattern> for IUIAutomationTextPattern
impl From<&IUIAutomationTextEditPattern> for IUIAutomationTextPattern
Source§fn from(value: &IUIAutomationTextEditPattern) -> Self
fn from(value: &IUIAutomationTextEditPattern) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationTextPattern> for IUnknown
impl From<&IUIAutomationTextPattern> for IUnknown
Source§fn from(value: &IUIAutomationTextPattern) -> Self
fn from(value: &IUIAutomationTextPattern) -> 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<IUIAutomationTextEditPattern> for IUIAutomationTextPattern
impl From<IUIAutomationTextEditPattern> for IUIAutomationTextPattern
Source§fn from(value: IUIAutomationTextEditPattern) -> Self
fn from(value: IUIAutomationTextEditPattern) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationTextPattern> for IUnknown
impl From<IUIAutomationTextPattern> for IUnknown
Source§fn from(value: IUIAutomationTextPattern) -> Self
fn from(value: IUIAutomationTextPattern) -> 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 Interface for IUIAutomationTextPattern
impl Interface for IUIAutomationTextPattern
const IID: Guid
type Vtable = IUIAutomationTextPattern_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
Source§impl PartialEq for IUIAutomationTextPattern
impl PartialEq for IUIAutomationTextPattern
impl Eq for IUIAutomationTextPattern
impl StructuralPartialEq for IUIAutomationTextPattern
Auto Trait Implementations§
impl Freeze for IUIAutomationTextPattern
impl RefUnwindSafe for IUIAutomationTextPattern
impl !Send for IUIAutomationTextPattern
impl !Sync for IUIAutomationTextPattern
impl Unpin for IUIAutomationTextPattern
impl UnwindSafe for IUIAutomationTextPattern
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