Skip to main content

layout_op_from_intent

Function layout_op_from_intent 

Source
pub fn layout_op_from_intent(intent: &Expr) -> Result<Option<LayoutOp>>
Expand description

Translate a validated layout Intent into a LayoutOp, if it is one.

intent/open opens a resource into a pane; intent/invoke with a layout op (close/move/resize/dock/undock) carries the remaining ops. Returns Ok(None) for an Intent that is not a layout command.