pub struct LayoutInfo {
pub session: SessionId,
pub window_id: WindowId,
pub panes: Vec<PaneLayout>,
pub terminal_cols: u16,
pub terminal_rows: u16,
pub windows: Vec<WindowBarInfo>,
}Expand description
Full layout description for the current window.
Fields§
§session: SessionId§window_id: WindowId§panes: Vec<PaneLayout>§terminal_cols: u16§terminal_rows: u16§windows: Vec<WindowBarInfo>Trait Implementations§
Source§impl Clone for LayoutInfo
impl Clone for LayoutInfo
Source§fn clone(&self) -> LayoutInfo
fn clone(&self) -> LayoutInfo
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 LayoutInfo
impl Debug for LayoutInfo
Source§impl<'de> Deserialize<'de> for LayoutInfo
impl<'de> Deserialize<'de> for LayoutInfo
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 LayoutInfo
impl PartialEq for LayoutInfo
Source§impl Serialize for LayoutInfo
impl Serialize for LayoutInfo
impl StructuralPartialEq for LayoutInfo
Auto Trait Implementations§
impl Freeze for LayoutInfo
impl RefUnwindSafe for LayoutInfo
impl Send for LayoutInfo
impl Sync for LayoutInfo
impl Unpin for LayoutInfo
impl UnsafeUnpin for LayoutInfo
impl UnwindSafe for LayoutInfo
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