pub struct SemanticsUpdate {
pub nodes: Vec<(NodeId, Node)>,
pub root: NodeId,
pub focus: Option<NodeId>,
}Expand description
A collected accessibility tree from
RenderRoot::semantics.
Fields§
§nodes: Vec<(NodeId, Node)>The flat node map in collection order: each container follows its children (post-order), so the root window node comes last.
root: NodeIdThe window node, present even for an empty tree.
focus: Option<NodeId>The node a widget claimed with SemanticsCtx::set_focused, if any.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticsUpdate
impl Clone for SemanticsUpdate
Source§impl Debug for SemanticsUpdate
impl Debug for SemanticsUpdate
Source§impl PartialEq for SemanticsUpdate
impl PartialEq for SemanticsUpdate
impl StructuralPartialEq for SemanticsUpdate
Auto Trait Implementations§
impl Freeze for SemanticsUpdate
impl RefUnwindSafe for SemanticsUpdate
impl Send for SemanticsUpdate
impl Sync for SemanticsUpdate
impl Unpin for SemanticsUpdate
impl UnsafeUnpin for SemanticsUpdate
impl UnwindSafe for SemanticsUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.