Skip to main content

Module pane

Module pane 

Source
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§

FloatingPaneTargetTileContext
Placement context for promoting a floating pane into the tile tree. Promoted to kernel in Slice 64.
PanePresentationMode
Pane chrome / mobility classification. Drives chrome rendering (full / reduced / chromeless) and tile-tree mobility (whether the pane participates in normal split moves).
SplitDirection
Direction for pane split operations. Promoted to kernel in Slice 64. (Note: crates/graph-tree::member::SplitDirection and registry::layout::workbench_surface::SplitDirection are separate types in their respective domains; this is the pane-mutation enum.)
TileRenderMode
Node viewer pane render classification.
ToolPaneState
Tool pane content variant.