pub struct SurfaceNode {
pub component: String,
pub props: BTreeMap<String, Value>,
pub children: Vec<SurfaceNode>,
}Expand description
A snapshot of the view surface tree.
Fields§
§component: StringComponent name (e.g., “Text”, “Column”).
props: BTreeMap<String, Value>Component props as key-value pairs.
children: Vec<SurfaceNode>Child surface nodes.
Trait Implementations§
Source§impl Clone for SurfaceNode
impl Clone for SurfaceNode
Source§fn clone(&self) -> SurfaceNode
fn clone(&self) -> SurfaceNode
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 moreSource§impl Debug for SurfaceNode
impl Debug for SurfaceNode
Source§impl PartialEq for SurfaceNode
impl PartialEq for SurfaceNode
impl StructuralPartialEq for SurfaceNode
Auto Trait Implementations§
impl Freeze for SurfaceNode
impl !RefUnwindSafe for SurfaceNode
impl Send for SurfaceNode
impl Sync for SurfaceNode
impl Unpin for SurfaceNode
impl !UnwindSafe for SurfaceNode
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