pub struct A11yTree { /* private fields */ }Expand description
Compiled semantic accessibility tree bridging SceneTree to OS screen readers.
Implementations§
Source§impl A11yTree
Tree compilation and lookup methods for A11yTree.
impl A11yTree
Tree compilation and lookup methods for A11yTree.
Sourcepub fn from_scene(tree: &SceneTree) -> Self
pub fn from_scene(tree: &SceneTree) -> Self
Sourcepub fn focused_node(&self) -> Option<NodeId>
pub fn focused_node(&self) -> Option<NodeId>
Sourcepub fn format_summary(&self, platform: PlatformKind) -> String
pub fn format_summary(&self, platform: PlatformKind) -> String
Source§impl A11yTree
impl A11yTree
pub fn get_root(&self) -> NodeId
pub fn get_mut_root(&mut self) -> &mut NodeId
pub fn set_root(&mut self, val: NodeId) -> &mut Self
pub fn get_nodes(&self) -> &Vec<A11yNode>
pub fn get_mut_nodes(&mut self) -> &mut Vec<A11yNode>
pub fn set_nodes(&mut self, val: Vec<A11yNode>) -> &mut Self
pub fn get_mut_focused_id(&mut self) -> &mut Option<NodeId>
pub fn set_focused_id(&mut self, val: Option<NodeId>) -> &mut Self
Trait Implementations§
impl StructuralPartialEq for A11yTree
Auto Trait Implementations§
impl Forget for A11yTree
impl Freeze for A11yTree
impl Move for A11yTree
impl RefUnwindSafe for A11yTree
impl Send for A11yTree
impl Sync for A11yTree
impl Unpin for A11yTree
impl UnsafeUnpin for A11yTree
impl UnwindSafe for A11yTree
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