pub struct WidgetTree { /* private fields */ }Expand description
Completed retained widget tree.
Implementations§
Source§impl WidgetTree
impl WidgetTree
Sourcepub fn roots(&self) -> &[WidgetTreeNode]
pub fn roots(&self) -> &[WidgetTreeNode]
Returns the root nodes of the tree.
Trait Implementations§
Source§impl Default for WidgetTree
impl Default for WidgetTree
Source§fn default() -> WidgetTree
fn default() -> WidgetTree
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WidgetTree
impl !RefUnwindSafe for WidgetTree
impl !Send for WidgetTree
impl !Sync for WidgetTree
impl Unpin for WidgetTree
impl UnsafeUnpin for WidgetTree
impl !UnwindSafe for WidgetTree
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