pub struct SemanticsTree { /* private fields */ }Expand description
Rooted semantics tree extracted after layout.
Two trees are equal when they hold the same nodes; what a tree keeps to bring itself up to date is not compared.
Implementations§
Source§impl SemanticsTree
impl SemanticsTree
Sourcepub fn root(&self) -> &SemanticsNode
pub fn root(&self) -> &SemanticsNode
Returns the top visible modal subtree, or the full root when no modal is open.
Trait Implementations§
Source§impl Clone for SemanticsTree
impl Clone for SemanticsTree
Source§impl Debug for SemanticsTree
impl Debug for SemanticsTree
Auto Trait Implementations§
impl !RefUnwindSafe for SemanticsTree
impl !Send for SemanticsTree
impl !Sync for SemanticsTree
impl !UnwindSafe for SemanticsTree
impl Freeze for SemanticsTree
impl Unpin for SemanticsTree
impl UnsafeUnpin for SemanticsTree
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