Struct uiautomation::patterns::UIWindowPattern
source · pub struct UIWindowPattern { /* private fields */ }
Expand description
A wrapper for IUIAutomationWindowPattern
.
Implementations§
source§impl UIWindowPattern
impl UIWindowPattern
pub fn close(&self) -> Result<()>
pub fn wait_for_input_idle(&self, milliseconds: i32) -> Result<bool>
pub fn get_window_visual_state(&self) -> Result<WindowVisualState>
pub fn set_window_visual_state(&self, state: WindowVisualState) -> Result<()>
pub fn can_maximize(&self) -> Result<bool>
pub fn can_minimize(&self) -> Result<bool>
pub fn is_modal(&self) -> Result<bool>
pub fn is_topmost(&self) -> Result<bool>
pub fn get_window_interaction_state(&self) -> Result<WindowInteractionState>
Trait Implementations§
source§impl AsRef<IUIAutomationWindowPattern> for UIWindowPattern
impl AsRef<IUIAutomationWindowPattern> for UIWindowPattern
source§impl Clone for UIWindowPattern
impl Clone for UIWindowPattern
source§fn clone(&self) -> UIWindowPattern
fn clone(&self) -> UIWindowPattern
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 UIWindowPattern
impl Debug for UIWindowPattern
source§impl From<IUIAutomationWindowPattern> for UIWindowPattern
impl From<IUIAutomationWindowPattern> for UIWindowPattern
source§impl Into<IUIAutomationWindowPattern> for UIWindowPattern
impl Into<IUIAutomationWindowPattern> for UIWindowPattern
source§impl TryFrom<IUnknown> for UIWindowPattern
impl TryFrom<IUnknown> for UIWindowPattern
source§impl UIPattern for UIWindowPattern
impl UIPattern for UIWindowPattern
source§const TYPE: UIPatternType = UIPatternType::Window
const TYPE: UIPatternType = UIPatternType::Window
Defines the pattern type id.
Auto Trait Implementations§
impl Freeze for UIWindowPattern
impl RefUnwindSafe for UIWindowPattern
impl !Send for UIWindowPattern
impl !Sync for UIWindowPattern
impl Unpin for UIWindowPattern
impl UnwindSafe for UIWindowPattern
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