pub struct Tree {
pub root: NodeId,
pub root_scroller: Option<NodeId>,
}
Expand description
The data associated with an accessibility tree that’s global to the tree and not associated with any particular node.
Fields§
§root: NodeId
§root_scroller: Option<NodeId>
The node that’s used as the root scroller, if any. On some platforms like Android we need to ignore accessibility scroll offsets for that node and get them from the viewport instead.
Implementations§
Trait Implementations§
source§impl PartialEq<Tree> for Tree
impl PartialEq<Tree> for Tree
impl Eq for Tree
impl StructuralEq for Tree
impl StructuralPartialEq for Tree
Auto Trait Implementations§
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
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