pub struct EditorDockLayoutSpec {
pub left_tabs: Vec<PanelKey>,
pub main_tabs: Vec<PanelKey>,
pub bottom_tabs: Vec<PanelKey>,
pub left_fraction: f32,
pub main_fraction: f32,
pub active_left: usize,
pub active_main: usize,
pub active_bottom: usize,
}Fields§
§left_tabs: Vec<PanelKey>§main_tabs: Vec<PanelKey>§bottom_tabs: Vec<PanelKey>§left_fraction: f32§main_fraction: f32§active_left: usize§active_main: usize§active_bottom: usizeImplementations§
Trait Implementations§
Source§impl Clone for EditorDockLayoutSpec
impl Clone for EditorDockLayoutSpec
Source§fn clone(&self) -> EditorDockLayoutSpec
fn clone(&self) -> EditorDockLayoutSpec
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 moreAuto Trait Implementations§
impl Freeze for EditorDockLayoutSpec
impl RefUnwindSafe for EditorDockLayoutSpec
impl Send for EditorDockLayoutSpec
impl Sync for EditorDockLayoutSpec
impl Unpin for EditorDockLayoutSpec
impl UnsafeUnpin for EditorDockLayoutSpec
impl UnwindSafe for EditorDockLayoutSpec
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