pub struct PaneLayout {
pub parent: Option<u32>,
pub kind: i32,
pub align: i32,
pub size: i32,
pub units: i32,
pub fitted: bool,
}Expand description
How a pane is placed, as the program asked: for a display that lays the panes out in its own measures, as a rich one does, and not in character cells.
Fields§
§parent: Option<u32>The pane it is part of, or None for the main window.
kind: i32A kind value.
align: i32An align value.
size: i32The size, in units.
units: i32A units value.
fitted: boolWhether the program last asked for it to be sized to what it holds, rather than given a size.
Trait Implementations§
Source§impl Clone for PaneLayout
impl Clone for PaneLayout
impl Copy for PaneLayout
Source§impl Debug for PaneLayout
impl Debug for PaneLayout
impl Eq for PaneLayout
Source§impl PartialEq for PaneLayout
impl PartialEq for PaneLayout
impl StructuralPartialEq for PaneLayout
Auto Trait Implementations§
impl Forget for PaneLayout
impl Freeze for PaneLayout
impl Move for PaneLayout
impl RefUnwindSafe for PaneLayout
impl Send for PaneLayout
impl Sync for PaneLayout
impl Unpin for PaneLayout
impl UnsafeUnpin for PaneLayout
impl UnwindSafe for PaneLayout
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