pub enum LayoutOp {
Open {
id: Symbol,
resource: Expr,
lens: Symbol,
dock: Symbol,
},
Close {
id: Symbol,
},
Move {
id: Symbol,
x: i64,
y: i64,
},
Resize {
id: Symbol,
w: i64,
h: i64,
},
Dock {
id: Symbol,
dock: Symbol,
},
Undock {
id: Symbol,
},
}Expand description
A layout command over the workspace.
Variants§
Open
Open a resource into a new pane.
Fields
Close
Close a pane.
Move
Move a pane’s top-left corner.
Resize
Resize a pane.
Dock
Dock a pane to a region.
Undock
Undock a pane (float it).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayoutOp
impl RefUnwindSafe for LayoutOp
impl Send for LayoutOp
impl Sync for LayoutOp
impl Unpin for LayoutOp
impl UnsafeUnpin for LayoutOp
impl UnwindSafe for LayoutOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more