pub struct ElementInfo {
pub name: String,
pub role: String,
pub class: String,
pub automation_id: String,
pub value: String,
pub enabled: bool,
pub focusable: bool,
pub x: i32,
pub y: i32,
pub w: i32,
pub h: i32,
}Expand description
Properties of a UI element probed at a point.
Fields§
§name: String§role: String§class: String§automation_id: String§value: String§enabled: bool§focusable: bool§x: i32§y: i32§w: i32§h: i32Trait Implementations§
Source§impl Clone for ElementInfo
impl Clone for ElementInfo
Source§fn clone(&self) -> ElementInfo
fn clone(&self) -> ElementInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ElementInfo
impl RefUnwindSafe for ElementInfo
impl Send for ElementInfo
impl Sync for ElementInfo
impl Unpin for ElementInfo
impl UnsafeUnpin for ElementInfo
impl UnwindSafe for ElementInfo
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