pub struct InspectorNode {
pub type_name: &'static str,
pub screen_bounds: Rect,
pub depth: usize,
pub properties: Vec<(&'static str, String)>,
}Expand description
Flat snapshot of one widget for the inspector panel.
Fields§
§type_name: &'static str§screen_bounds: RectAbsolute screen bounds (Y-up), accumulated as the tree is walked.
depth: usize§properties: Vec<(&'static str, String)>Type-specific display properties from Widget::properties.
Trait Implementations§
Source§impl Clone for InspectorNode
impl Clone for InspectorNode
Source§fn clone(&self) -> InspectorNode
fn clone(&self) -> InspectorNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InspectorNode
impl RefUnwindSafe for InspectorNode
impl Send for InspectorNode
impl Sync for InspectorNode
impl Unpin for InspectorNode
impl UnsafeUnpin for InspectorNode
impl UnwindSafe for InspectorNode
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