pub enum DockNode {
Split {
axis: Axis,
children: Vec<DockNodeId>,
fractions: Vec<f32>,
},
Tabs {
tabs: Vec<PanelKey>,
active: usize,
},
Floating {
child: DockNodeId,
},
}Variants§
Split
Tabs
Floating
An in-window floating dock container (ImGui docking, viewports disabled).
The container node is stable: docking within the floating window replaces child while
keeping the container id stable. Window metadata (rect, z-order) is stored in DockGraph.
Fields
§
child: DockNodeIdTrait Implementations§
Auto Trait Implementations§
impl Freeze for DockNode
impl RefUnwindSafe for DockNode
impl Send for DockNode
impl Sync for DockNode
impl Unpin for DockNode
impl UnsafeUnpin for DockNode
impl UnwindSafe for DockNode
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