Skip to main content

Module layout

Module layout 

Source
Expand description

The layout engine: layout operations over the workspace value.

Layout operations create, move, resize, dock, undock, and close panes. Each produces a new workspace value; nothing is mutated in place, so the result is still a round-trippable value. Operations arrive either directly (as a LayoutOp) or as Intents the bridge has already validated.

Enums§

LayoutOp
A layout command over the workspace.

Functions§

apply_layout_op
Apply a layout operation, returning the updated workspace value.
layout_op_from_intent
Translate a validated layout Intent into a LayoutOp, if it is one.