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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more