pub struct NodeInfo {
pub id: u64,
pub role: String,
pub label: Option<String>,
pub value: Option<String>,
pub bounds: Option<Rect>,
pub children: Vec<u64>,
pub toggled: Option<bool>,
pub disabled: bool,
pub focused: bool,
}Expand description
Information about a UI node (used for AT-SPI responses)
Fields§
§id: u64Unique identifier for the node
role: StringRole of the node (e.g., “Button”, “TextInput”, “Window”)
label: Option<String>Human-readable label
value: Option<String>Current value (for inputs, sliders, etc.)
bounds: Option<Rect>Bounding rectangle
children: Vec<u64>Child node IDs
toggled: Option<bool>Whether the node is toggled (for checkboxes, toggles)
disabled: boolWhether the node is disabled
focused: boolWhether the node has focus
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeInfo
impl<'de> Deserialize<'de> for NodeInfo
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
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
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