pub struct A11yNode { /* private fields */ }Expand description
Compiled snapshot node in the cross-platform A11yTree.
Implementations§
Source§impl A11yNode
impl A11yNode
pub fn get_id(&self) -> NodeId
pub fn get_mut_id(&mut self) -> &mut NodeId
pub fn set_id(&mut self, val: NodeId) -> &mut Self
pub fn get_props(&self) -> &A11yProps
pub fn get_mut_props(&mut self) -> &mut A11yProps
pub fn set_props(&mut self, val: A11yProps) -> &mut Self
pub fn get_bounds(&self) -> Rect
pub fn get_mut_bounds(&mut self) -> &mut Rect
pub fn set_bounds(&mut self, val: Rect) -> &mut Self
pub fn get_focused(&self) -> bool
pub fn get_mut_focused(&mut self) -> &mut bool
pub fn set_focused(&mut self, val: bool) -> &mut Self
pub fn get_children(&self) -> &Vec<NodeId>
pub fn get_mut_children(&mut self) -> &mut Vec<NodeId>
pub fn set_children(&mut self, val: Vec<NodeId>) -> &mut Self
Trait Implementations§
impl StructuralPartialEq for A11yNode
Auto Trait Implementations§
impl Forget for A11yNode
impl Freeze for A11yNode
impl Move for A11yNode
impl RefUnwindSafe for A11yNode
impl Send for A11yNodewhere
RawVecInner: Send,
impl Sync for A11yNodewhere
RawVecInner: Sync,
impl Unpin for A11yNode
impl UnsafeUnpin for A11yNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<NodeId>: UnsafeUnpin,
impl UnwindSafe for A11yNodewhere
RawVecInner: UnwindSafe,
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