pub struct VisualTreeDebug;Expand description
Prints a visual tree as text, for debugging.
Implementations§
Source§impl VisualTreeDebug
impl VisualTreeDebug
Sourcepub fn print_visual_tree(visual: &Visual) -> String
pub fn print_visual_tree(visual: &Visual) -> String
The visual tree of visual as text: one line per visual (the name of its type, and the
classes of a control), the properties of a control that have a value, each with the
priority of the value, and the children, indented.
Auto Trait Implementations§
impl Freeze for VisualTreeDebug
impl RefUnwindSafe for VisualTreeDebug
impl Send for VisualTreeDebug
impl Sync for VisualTreeDebug
impl Unpin for VisualTreeDebug
impl UnsafeUnpin for VisualTreeDebug
impl UnwindSafe for VisualTreeDebug
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more