pub enum SplitOrientation {
Horizontal,
Vertical,
}Expand description
How a crate::LayoutNode::Split divides its area.
“Horizontal” splits stack panes vertically (one above the other);
“Vertical” splits sit side by side. This matches the tmux
terminology where split-window -h produces side-by-side and
split-window -v produces top-and-bottom. mado uses the same
definitions internally; the shared types keep both apps consistent.
Variants§
Trait Implementations§
Source§impl Clone for SplitOrientation
impl Clone for SplitOrientation
Source§fn clone(&self) -> SplitOrientation
fn clone(&self) -> SplitOrientation
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 moreimpl Copy for SplitOrientation
Source§impl Debug for SplitOrientation
impl Debug for SplitOrientation
Source§impl<'de> Deserialize<'de> for SplitOrientation
impl<'de> Deserialize<'de> for SplitOrientation
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
impl Eq for SplitOrientation
Source§impl Hash for SplitOrientation
impl Hash for SplitOrientation
Source§impl PartialEq for SplitOrientation
impl PartialEq for SplitOrientation
Source§impl Serialize for SplitOrientation
impl Serialize for SplitOrientation
impl StructuralPartialEq for SplitOrientation
Auto Trait Implementations§
impl Freeze for SplitOrientation
impl RefUnwindSafe for SplitOrientation
impl Send for SplitOrientation
impl Sync for SplitOrientation
impl Unpin for SplitOrientation
impl UnsafeUnpin for SplitOrientation
impl UnwindSafe for SplitOrientation
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