pub enum Axis {
Columns,
Rows,
}Expand description
Which way a split divides its children.
Named for what you see rather than for the cut, because “horizontal split” is ambiguous
in exactly the way that produces transposed layouts: vim’s :split is called horizontal
and stacks windows vertically.
Variants§
Columns
Side by side, divided along x. vim’s :vsplit.
Rows
One above another, divided along y. vim’s :split.
Implementations§
Trait Implementations§
impl Copy for Axis
impl Eq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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