Struct tmux_interface::commands::windows_and_panes::move_pane::MovePane[][src]

pub struct MovePane<'a> {
    pub left_above: Option<bool>,
    pub detached: Option<bool>,
    pub horizontal: Option<bool>,
    pub vertical: Option<bool>,
    pub size: Option<&'a PaneSize>,
    pub src_pane: Option<&'a str>,
    pub dst_pane: Option<&'a str>,
}

Like join-pane, but src-pane and dst-pane may belong to the same window

Manual

tmux ^3.1:

tmux move-pane [-bdhv] [-l size] [-s src-pane] [-t dst-pane]
(alias: movep)

tmux ^1.7:

tmux move-pane [-bdhv] [-l size | -p percentage] [-s src-pane] [-t dst-pane]
(alias: movep)

Fields

left_above: Option<bool>

[-b] - cause src-pane to be joined to left of or above dst-pane

detached: Option<bool>

[-d] -

horizontal: Option<bool>

[-h] - full height

vertical: Option<bool>

[-v] - full width

size: Option<&'a PaneSize>

[-l size] - specify the size of the new pane in lines/columns

src_pane: Option<&'a str>

[-s src-pane] - src-pane

dst_pane: Option<&'a str>

[-t dst-pane] - dst-pane

Implementations

impl<'a> MovePane<'a>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<'a> Debug for MovePane<'a>[src]

impl<'a> Default for MovePane<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for MovePane<'a>

impl<'a> Send for MovePane<'a>

impl<'a> Sync for MovePane<'a>

impl<'a> Unpin for MovePane<'a>

impl<'a> UnwindSafe for MovePane<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.