pub struct IUIAutomationSelectionPattern2(/* private fields */);
Implementations§
Source§impl IUIAutomationSelectionPattern2
impl IUIAutomationSelectionPattern2
pub unsafe fn GetCurrentSelection(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CurrentCanSelectMultiple(&self) -> Result<BOOL>
pub unsafe fn get_CurrentIsSelectionRequired(&self) -> Result<BOOL>
pub unsafe fn GetCachedSelection(&self) -> Result<IUIAutomationElementArray>
pub unsafe fn get_CachedCanSelectMultiple(&self) -> Result<BOOL>
pub unsafe fn get_CachedIsSelectionRequired(&self) -> Result<BOOL>
pub unsafe fn get_CurrentFirstSelectedItem( &self, ) -> Result<IUIAutomationElement>
pub unsafe fn get_CurrentLastSelectedItem(&self) -> Result<IUIAutomationElement>
pub unsafe fn get_CurrentCurrentSelectedItem( &self, ) -> Result<IUIAutomationElement>
pub unsafe fn get_CurrentItemCount(&self) -> Result<i32>
pub unsafe fn get_CachedFirstSelectedItem(&self) -> Result<IUIAutomationElement>
pub unsafe fn get_CachedLastSelectedItem(&self) -> Result<IUIAutomationElement>
pub unsafe fn get_CachedCurrentSelectedItem( &self, ) -> Result<IUIAutomationElement>
pub unsafe fn get_CachedItemCount(&self) -> Result<i32>
Trait Implementations§
Source§impl Clone for IUIAutomationSelectionPattern2
impl Clone for IUIAutomationSelectionPattern2
Source§fn clone(&self) -> IUIAutomationSelectionPattern2
fn clone(&self) -> IUIAutomationSelectionPattern2
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 From<&IUIAutomationSelectionPattern2> for IUIAutomationSelectionPattern
impl From<&IUIAutomationSelectionPattern2> for IUIAutomationSelectionPattern
Source§fn from(value: &IUIAutomationSelectionPattern2) -> Self
fn from(value: &IUIAutomationSelectionPattern2) -> Self
Converts to this type from the input type.
Source§impl From<&IUIAutomationSelectionPattern2> for IUnknown
impl From<&IUIAutomationSelectionPattern2> for IUnknown
Source§fn from(value: &IUIAutomationSelectionPattern2) -> Self
fn from(value: &IUIAutomationSelectionPattern2) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationSelectionPattern2> for IUIAutomationSelectionPattern
impl From<IUIAutomationSelectionPattern2> for IUIAutomationSelectionPattern
Source§fn from(value: IUIAutomationSelectionPattern2) -> Self
fn from(value: IUIAutomationSelectionPattern2) -> Self
Converts to this type from the input type.
Source§impl From<IUIAutomationSelectionPattern2> for IUnknown
impl From<IUIAutomationSelectionPattern2> for IUnknown
Source§fn from(value: IUIAutomationSelectionPattern2) -> Self
fn from(value: IUIAutomationSelectionPattern2) -> Self
Converts to this type from the input type.
Source§impl Interface for IUIAutomationSelectionPattern2
impl Interface for IUIAutomationSelectionPattern2
const IID: Guid
type Vtable = IUIAutomationSelectionPattern2_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 IUIAutomationSelectionPattern2
impl PartialEq for IUIAutomationSelectionPattern2
Source§fn eq(&self, other: &IUIAutomationSelectionPattern2) -> bool
fn eq(&self, other: &IUIAutomationSelectionPattern2) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for IUIAutomationSelectionPattern2
impl StructuralPartialEq for IUIAutomationSelectionPattern2
Auto Trait Implementations§
impl Freeze for IUIAutomationSelectionPattern2
impl RefUnwindSafe for IUIAutomationSelectionPattern2
impl !Send for IUIAutomationSelectionPattern2
impl !Sync for IUIAutomationSelectionPattern2
impl Unpin for IUIAutomationSelectionPattern2
impl UnwindSafe for IUIAutomationSelectionPattern2
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