Expand description
Portable workbench-pane identity + render-mode classification.
PaneId is the canonical pane identity used by the pane-hosted
view architecture — distinct from egui_tiles::TileId (host layout
identity) and the legacy u64 persistence key that predated it.
TileRenderMode classifies how a pane’s viewer produces pixels
— a composited offscreen texture (Servo), an OS-native overlay
window (Wry), direct host rendering, or a placeholder when the
viewer is unresolved. The runtime uses this to drive compositor
routing decisions; hosts read it when selecting a surface backend.
Both types are fully portable: PaneId wraps a UUIDv4, and
TileRenderMode is a 4-variant enum with serde derives. Pre-M4
slice 8 (2026-04-22) they lived in
shell/desktop/workbench/pane_model.rs, alongside larger
shell-coupled types that remain shell-side; the shell module
re-exports these two at their original paths.
Structs§
- PaneId
- Opaque stable identifier for a workbench pane.
Enums§
- Floating
Pane Target Tile Context - Placement context for promoting a floating pane into the tile tree. Promoted to kernel in Slice 64.
- Pane
Presentation Mode - Pane chrome / mobility classification. Drives chrome rendering (full / reduced / chromeless) and tile-tree mobility (whether the pane participates in normal split moves).
- Split
Direction - Direction for pane split operations. Promoted to kernel
in Slice 64. (Note:
crates/graph-tree::member::SplitDirectionandregistry::layout::workbench_surface::SplitDirectionare separate types in their respective domains; this is the pane-mutation enum.) - Tile
Render Mode - Node viewer pane render classification.
- Tool
Pane State - Tool pane content variant.