pub struct ViewNode {
pub id: String,
pub element_ref: String,
pub x: i32,
pub y: i32,
pub w: i32,
pub h: i32,
}Expand description
A node inside the auto-generated view: it references an Element and
carries a deterministic grid position (visual layout is index-derived, never
authored, so output stays byte-identical).
Fields§
§id: String§element_ref: String§x: i32§y: i32§w: i32§h: i32Trait Implementations§
Auto Trait Implementations§
impl Forget for ViewNode
impl Freeze for ViewNode
impl Move for ViewNode
impl RefUnwindSafe for ViewNode
impl Send for ViewNodewhere
RawVecInner: Send,
impl Sync for ViewNodewhere
RawVecInner: Sync,
impl Unpin for ViewNode
impl UnsafeUnpin for ViewNode
impl UnwindSafe for ViewNodewhere
RawVecInner: UnwindSafe,
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