pub struct UiNode {
pub depth: u32,
pub role: String,
pub name: Option<String>,
pub automation_id: Option<String>,
pub parent: Option<usize>,
}Expand description
DFS 序节点(UIA 后端产出)。parent 为同流内的索引,不参与序列化。
Fields§
§depth: u32§role: String§name: Option<String>§automation_id: Option<String>§parent: Option<usize>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiNode
impl<'de> Deserialize<'de> for UiNode
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 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