pub enum EdgeDockDecision {
InsertIntoSplit {
split: DockNodeId,
anchor_index: usize,
insert_index: usize,
},
WrapNewSplit,
}Expand description
A pure decision describing how an edge-dock operation will commit in the core graph.
This is intended to be consumed by the docking UI layer so that preview geometry matches core semantics (avoids “preview vs commit” drift).
Variants§
InsertIntoSplit
Insert a new tabs node into an existing same-axis split container.
splitis the container being inserted into.anchor_indexis the existing child whose share is split in half (v1 default).insert_indexis where the new child is inserted.
WrapNewSplit
Wrap the target in a new split container (legacy behavior / fallback).
Trait Implementations§
Source§impl Clone for EdgeDockDecision
impl Clone for EdgeDockDecision
Source§fn clone(&self) -> EdgeDockDecision
fn clone(&self) -> EdgeDockDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeDockDecision
impl Debug for EdgeDockDecision
Source§impl PartialEq for EdgeDockDecision
impl PartialEq for EdgeDockDecision
impl Copy for EdgeDockDecision
impl Eq for EdgeDockDecision
impl StructuralPartialEq for EdgeDockDecision
Auto Trait Implementations§
impl Freeze for EdgeDockDecision
impl RefUnwindSafe for EdgeDockDecision
impl Send for EdgeDockDecision
impl Sync for EdgeDockDecision
impl Unpin for EdgeDockDecision
impl UnsafeUnpin for EdgeDockDecision
impl UnwindSafe for EdgeDockDecision
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