pub struct NodeInfo {
pub id: NodeId,
pub kind: WidgetKind,
pub props: Vec<Prop>,
pub test_id: Option<String>,
pub frame: Rect,
pub children: Vec<NodeInfo>,
}Expand description
Snapshot of one native node, for inspection tools and tests.
Fields§
§id: NodeId§kind: WidgetKind§props: Vec<Prop>§test_id: Option<String>§frame: RectIn window coordinates.
children: Vec<NodeInfo>Trait Implementations§
impl StructuralPartialEq for NodeInfo
Auto Trait Implementations§
impl !RefUnwindSafe for NodeInfo
impl !Send for NodeInfo
impl !Sync for NodeInfo
impl !UnwindSafe for NodeInfo
impl Forget for NodeInfo
impl Freeze for NodeInfo
impl Move for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfo
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