pub struct UiNode {
pub role: String,
pub subrole: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub identifier: Option<String>,
pub value: Option<String>,
pub secure: bool,
pub actions: Vec<String>,
pub frame: Option<NodeFrame>,
pub child_count: Option<usize>,
pub children: Vec<UiNode>,
}Expand description
One accessibility node before numbering.
Fields§
§role: StringRole, or unavailable when a copy failed for this node only.
subrole: Option<String>AXSubrole, when the platform sent one.
title: Option<String>AXTitle.
description: Option<String>AXDescription, used when the title is empty.
identifier: Option<String>AXIdentifier. Preferred over the title in the diff signature.
value: Option<String>Display value. Secure nodes must leave this empty; the renderer never reads a secret.
secure: boolAXSecureTextField, or a subrole containing Secure.
actions: Vec<String>Action names, already copied off the element.
frame: Option<NodeFrame>Screen frame in points. Missing when the element has no position.
child_count: Option<usize>Child count before the child cap. None means children.len().
children: Vec<UiNode>Children in platform order. The renderer keeps at most CHILD_CAP.
Implementations§
Trait Implementations§
impl StructuralPartialEq for UiNode
Auto Trait Implementations§
impl Freeze for UiNode
impl RefUnwindSafe for UiNode
impl Send for UiNode
impl Sync for UiNode
impl Unpin for UiNode
impl UnsafeUnpin for UiNode
impl UnwindSafe for UiNode
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