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 NodeInfowhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<Prop>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<NodeInfo>: Freeze,
impl Move for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfowhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Prop>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<NodeInfo>: UnsafeUnpin,
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