pub struct SemanticNode {
pub role: String,
pub label: Option<String>,
pub value: Option<String>,
pub focusable: bool,
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}Expand description
A node in the semantic accessibility tree, returned by TestCommand::GetTree.
Bounding rectangles are expressed in logical test-space pixels.
Fields§
§role: String§label: Option<String>§value: Option<String>§focusable: bool§x: f32§y: f32§width: f32§height: f32Trait Implementations§
Source§impl Clone for SemanticNode
impl Clone for SemanticNode
Source§fn clone(&self) -> SemanticNode
fn clone(&self) -> SemanticNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SemanticNode
impl Debug for SemanticNode
Source§impl<'de> Deserialize<'de> for SemanticNode
impl<'de> Deserialize<'de> for SemanticNode
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 SemanticNode
impl RefUnwindSafe for SemanticNode
impl Send for SemanticNode
impl Sync for SemanticNode
impl Unpin for SemanticNode
impl UnsafeUnpin for SemanticNode
impl UnwindSafe for SemanticNode
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