pub struct DockLayout {
pub groups: Vec<TabGroupLayout>,
pub splitters: Vec<SplitterLayout>,
}Expand description
Everything the shell needs to paint one frame of the dock.
Fields§
§groups: Vec<TabGroupLayout>Tab groups, in traversal order.
splitters: Vec<SplitterLayout>Dividers between them.
Trait Implementations§
Source§impl Clone for DockLayout
impl Clone for DockLayout
Source§fn clone(&self) -> DockLayout
fn clone(&self) -> DockLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DockLayout
impl Debug for DockLayout
Source§impl Default for DockLayout
impl Default for DockLayout
Source§fn default() -> DockLayout
fn default() -> DockLayout
Returns the “default value” for a type. Read more
Source§impl PartialEq for DockLayout
impl PartialEq for DockLayout
Source§fn eq(&self, other: &DockLayout) -> bool
fn eq(&self, other: &DockLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DockLayout
Auto Trait Implementations§
impl Freeze for DockLayout
impl RefUnwindSafe for DockLayout
impl Send for DockLayout
impl Sync for DockLayout
impl Unpin for DockLayout
impl UnsafeUnpin for DockLayout
impl UnwindSafe for DockLayout
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
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