pub struct WindowPlan {
pub name: String,
pub layout: LayoutPlan,
pub active_slot: PaneSlot,
}Expand description
The latent mirror of a crate::TearWindow: a named window with a
layout plan and the slot that should be focused after instantiation.
Stored inside a session definition; carries no runtime ids — a
definition can hold several of these (multi-window sessions).
Fields§
§name: StringWindow name (work, logs, …).
layout: LayoutPlanThe pane layout, over slots.
active_slot: PaneSlotThe slot that becomes active_pane after instantiation.
Implementations§
Trait Implementations§
Source§impl Clone for WindowPlan
impl Clone for WindowPlan
Source§fn clone(&self) -> WindowPlan
fn clone(&self) -> WindowPlan
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 WindowPlan
impl Debug for WindowPlan
Source§impl<'de> Deserialize<'de> for WindowPlan
impl<'de> Deserialize<'de> for WindowPlan
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 WindowPlan
impl PartialEq for WindowPlan
Source§impl Serialize for WindowPlan
impl Serialize for WindowPlan
impl StructuralPartialEq for WindowPlan
Auto Trait Implementations§
impl Freeze for WindowPlan
impl RefUnwindSafe for WindowPlan
impl Send for WindowPlan
impl Sync for WindowPlan
impl Unpin for WindowPlan
impl UnsafeUnpin for WindowPlan
impl UnwindSafe for WindowPlan
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