pub struct WidgetTreeDump {
pub roots: Vec<WidgetNode>,
}Expand description
widget_tree result. Nested (parent owns children: Vec<WidgetNode>)
rather than a flat id-indexed list with parent pointers — the simplest
v1 shape, and the one a debug client walks directly to render a tree
view with no separate reconstruction pass.
Fields§
§roots: Vec<WidgetNode>Trait Implementations§
Source§impl Clone for WidgetTreeDump
impl Clone for WidgetTreeDump
Source§impl Debug for WidgetTreeDump
impl Debug for WidgetTreeDump
Source§impl<'de> Deserialize<'de> for WidgetTreeDump
impl<'de> Deserialize<'de> for WidgetTreeDump
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WidgetTreeDump
impl PartialEq for WidgetTreeDump
Source§impl Serialize for WidgetTreeDump
impl Serialize for WidgetTreeDump
impl StructuralPartialEq for WidgetTreeDump
Auto Trait Implementations§
impl Freeze for WidgetTreeDump
impl RefUnwindSafe for WidgetTreeDump
impl Send for WidgetTreeDump
impl Sync for WidgetTreeDump
impl Unpin for WidgetTreeDump
impl UnsafeUnpin for WidgetTreeDump
impl UnwindSafe for WidgetTreeDump
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