pub struct Element {Show 17 fields
pub id: String,
pub role: String,
pub label: Option<String>,
pub value: Option<String>,
pub identifier: Option<String>,
pub hint: Option<String>,
pub frame: Option<Rect>,
pub traits: Vec<String>,
pub enabled: bool,
pub selected: bool,
pub focused: bool,
pub parent: Option<String>,
pub depth: u32,
pub pid: i64,
pub on_screen: bool,
pub raw: Option<Value>,
pub key: Option<ObjKey>,
}Fields§
§id: StringShort handle for this element, stable while the element lives.
role: String§label: Option<String>§value: Option<String>§identifier: Option<String>§hint: Option<String>§frame: Option<Rect>§traits: Vec<String>§enabled: bool§selected: bool§focused: bool§parent: Option<String>id of the parent element, absent for an application.
depth: u32§pid: i64§on_screen: boolFalse when the element lies outside the screen.
raw: Option<Value>Every numbered attribute, only with --raw.
key: Option<ObjKey>The phone’s name for the element, to ask it about one attribute.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Element
impl<'de> Deserialize<'de> for Element
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Element
Auto Trait Implementations§
impl Forget for Element
impl Freeze for Element
impl Move for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnsafeUnpin for Element
impl UnwindSafe for Element
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