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