pub enum DockNode {
Empty,
Tabs {
panels: Vec<DockPanelId>,
active: DockPanelId,
},
Split {
axis: Axis,
fraction: f32,
first: Box<DockNode>,
second: Box<DockNode>,
},
}Expand description
One node in the persisted docking graph.
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for DockNode
Auto Trait Implementations§
impl Forget for DockNode
impl Freeze for DockNode
impl Move 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