Expand description
Workspace value, panes/tabs/docks, and layout persistence (WEBUI_4).
The workspace is one SIM value: panes, tabs, splits, docks, floating inspectors, overlays, open resources, active lens per resource, mode, session ref, palette state, and history ref. Because it round-trips through general codecs, a workspace can be saved, shared, versioned, diffed, and restored as data. Layout is data; restoring a session is decoding a value.
This crate provides the workspace value model, pane records, the
layout engine (operations over the workspace value), and a scene
encoder for the dock/split arrangement.
Re-exports§
pub use layout::LayoutOp;pub use layout::apply_layout_op;pub use layout::layout_op_from_intent;pub use palette::EntryKind;pub use palette::Palette;pub use palette::PaletteEntry;pub use palette::card_target;pub use palette::open_card;pub use pane::new_pane;pub use pane::pane_dock;pub use pane::pane_id;pub use pane::pane_lens;pub use pane::pane_resource;pub use pane::rect;pub use scene::workspace_scene;pub use value::WORKSPACE_CLASS;pub use value::focus;pub use value::mode;pub use value::new_workspace;pub use value::panes;
Modules§
- layout
- The layout engine: layout operations over the workspace value.
- palette
- The command palette: the keyboard spine of the workspace.
- pane
- Pane records.
- scene
- Rendering the workspace value to a layout Scene.
- value
- The workspace value and small map helpers.
Structs§
- Workspace
Descriptor - A validated workspace layout wrapped as a runtime Citizen object.
Functions§
- workspace_
descriptor_ class_ symbol - Returns the class symbol for the workspace descriptor Citizen.