pub struct LayoutOutput {Show 20 fields
pub frames: Vec<PlacedFrame>,
pub layers: Vec<Layer>,
pub lists: Vec<ListOutput>,
pub scrolls: Vec<ScrollOutput>,
pub sticky: Vec<StickyOutput>,
pub toasts: Vec<ToastSpec>,
pub visual_changes: Vec<u32>,
pub delta: NodeDelta,
pub structure_version: u64,
pub surface_width: f32,
pub surface_height: f32,
pub overflow: bool,
pub direction: String,
pub breakpoint: Option<String>,
pub measure_rounds: u32,
pub upcalls: u32,
pub restyled: u32,
pub rebuilt: bool,
pub built_nodes: u32,
pub layout_ns: u64,
}Fields§
§frames: Vec<PlacedFrame>Main-tree frames, pre-order (= paint order).
layers: Vec<Layer>§lists: Vec<ListOutput>§scrolls: Vec<ScrollOutput>§sticky: Vec<StickyOutput>Round 2: sticky nodes and pinned section headers at their pinned paint offsets this pass.
toasts: Vec<ToastSpec>Open toasts the host times (duration_ms 0 = sticky); a timeout is
event(<toast root>, "dismiss") / dismiss_toast(id).
visual_changes: Vec<u32>Slots whose resolved visual changed since the last pass.
delta: NodeDeltaThe node changes since the last pass (see NodeDelta).
structure_version: u64Bumps whenever the node set changed (added/removed/renumbered).
surface_width: f32§surface_height: f32§overflow: boolContent taller than the bounded height (a transcript card may scroll).
direction: Stringltr | rtl (the root’s direction, else the locale’s).
breakpoint: Option<String>The active breakpoint (None = base).
measure_rounds: u32§upcalls: u32§restyled: u32Nodes restyled this pass (a hover = 1; a theme switch = all).
rebuilt: boolThe layout tree was rebuilt (and reconciled) this pass.
built_nodes: u32Layout nodes the builder produced this pass: the whole tree on a rebuild, only a re-windowed list’s subtree on a scroll.
layout_ns: u64