Struct uiautomation::patterns::UITransformPattern
source · pub struct UITransformPattern { /* private fields */ }
Expand description
A wrapper for IUIAutomationTransformPattern
and IUIAutomationTransformPattern2
Implementations§
source§impl UITransformPattern
impl UITransformPattern
pub fn can_move(&self) -> Result<bool>
pub fn move_to(&self, x: f64, y: f64) -> Result<()>
pub fn can_resize(&self) -> Result<bool>
pub fn resize(&self, width: f64, height: f64) -> Result<()>
pub fn can_rotate(&self) -> Result<bool>
pub fn rotate(&self, degrees: f64) -> Result<()>
pub fn can_zoom(&self) -> Result<bool>
pub fn get_zoom_level(&self) -> Result<f64>
pub fn get_zoom_minimum(&self) -> Result<f64>
pub fn get_zoom_maximum(&self) -> Result<f64>
pub fn zoom(&self, zoom_value: f64) -> Result<()>
pub fn zoom_by_unit(&self, zoom_unit: ZoomUnit) -> Result<()>
Trait Implementations§
source§impl AsRef<IUIAutomationTransformPattern> for UITransformPattern
impl AsRef<IUIAutomationTransformPattern> for UITransformPattern
source§impl Clone for UITransformPattern
impl Clone for UITransformPattern
source§fn clone(&self) -> UITransformPattern
fn clone(&self) -> UITransformPattern
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 UITransformPattern
impl Debug for UITransformPattern
source§impl From<IUIAutomationTransformPattern> for UITransformPattern
impl From<IUIAutomationTransformPattern> for UITransformPattern
source§impl Into<IUIAutomationTransformPattern> for UITransformPattern
impl Into<IUIAutomationTransformPattern> for UITransformPattern
source§impl TryFrom<IUnknown> for UITransformPattern
impl TryFrom<IUnknown> for UITransformPattern
source§impl UIPattern for UITransformPattern
impl UIPattern for UITransformPattern
source§const TYPE: UIPatternType = UIPatternType::Transform
const TYPE: UIPatternType = UIPatternType::Transform
Defines the pattern type id.
Auto Trait Implementations§
impl Freeze for UITransformPattern
impl RefUnwindSafe for UITransformPattern
impl !Send for UITransformPattern
impl !Sync for UITransformPattern
impl Unpin for UITransformPattern
impl UnwindSafe for UITransformPattern
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