Struct uiautomation::controls::HeaderControl
source · pub struct HeaderControl { /* private fields */ }
Expand description
Wrapper a Header element as control. The control type of the element must be UIA_HeaderControlTypeId
.
- Must support: None
- Conditional support:
Transform
Trait Implementations§
source§impl AsRef<UIElement> for HeaderControl
impl AsRef<UIElement> for HeaderControl
source§impl Control for HeaderControl
impl Control for HeaderControl
source§const TYPE: ControlType = ControlType::Header
const TYPE: ControlType = ControlType::Header
Defines the control type id.
source§impl Debug for HeaderControl
impl Debug for HeaderControl
source§impl Display for HeaderControl
impl Display for HeaderControl
source§impl Into<UIElement> for HeaderControl
impl Into<UIElement> for HeaderControl
source§impl Transform for HeaderControl
impl Transform for HeaderControl
source§fn can_resize(&self) -> Result<bool>
fn can_resize(&self) -> Result<bool>
Indicates whether the element can be resized.
source§fn can_rotate(&self) -> Result<bool>
fn can_rotate(&self) -> Result<bool>
Indicates whether the element can be rotated.
source§fn can_zoom(&self) -> Result<bool>
fn can_zoom(&self) -> Result<bool>
Indicates whether the control supports zooming of its viewport.
source§fn get_zoom_level(&self) -> Result<f64>
fn get_zoom_level(&self) -> Result<f64>
Retrieves the zoom level of the control’s viewport.
source§fn get_zoom_minimum(&self) -> Result<f64>
fn get_zoom_minimum(&self) -> Result<f64>
Retrieves the minimum zoom level of the control’s viewport.
source§fn get_zoom_maximum(&self) -> Result<f64>
fn get_zoom_maximum(&self) -> Result<f64>
Retrieves the maximum zoom level of the control’s viewport.
source§impl TryFrom<&UIElement> for HeaderControl
impl TryFrom<&UIElement> for HeaderControl
Auto Trait Implementations§
impl Freeze for HeaderControl
impl RefUnwindSafe for HeaderControl
impl !Send for HeaderControl
impl !Sync for HeaderControl
impl Unpin for HeaderControl
impl UnwindSafe for HeaderControl
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