pub enum DormantPlace {
Docked {
area: Area,
beside: Vec<PanelId>,
index: usize,
},
Window {
screen: String,
rect: [f32; 4],
},
Floating {
pos: [f32; 2],
},
Hidden,
InWindow {
window: String,
area: Area,
beside: Vec<PanelId>,
index: usize,
},
}Expand description
Where a dormant panel was.
Variants§
Docked
Docked in an area: at index in the tabs it shared with beside.
Window
Detached in a window on a screen, at rect.
Floating
Floating over the interface, its group’s corner at pos.
Hidden
Closed by the user.
InWindow
Docked in an area of an application window other than the main
one (Layout::windows): at index in the tabs it shared with
beside.
Implementations§
Trait Implementations§
Source§impl Clone for DormantPlace
impl Clone for DormantPlace
Source§fn clone(&self) -> DormantPlace
fn clone(&self) -> DormantPlace
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 DormantPlace
impl Debug for DormantPlace
Source§impl<'de> Deserialize<'de> for DormantPlace
impl<'de> Deserialize<'de> for DormantPlace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DormantPlace
impl PartialEq for DormantPlace
Source§impl Serialize for DormantPlace
impl Serialize for DormantPlace
impl StructuralPartialEq for DormantPlace
Auto Trait Implementations§
impl Freeze for DormantPlace
impl RefUnwindSafe for DormantPlace
impl Send for DormantPlace
impl Sync for DormantPlace
impl Unpin for DormantPlace
impl UnsafeUnpin for DormantPlace
impl UnwindSafe for DormantPlace
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