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

pub struct MovePane<'a>(pub TmuxCommand<'a>);

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)

Implementations

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

pub fn new() -> Self[src]

pub fn left_above(&mut self) -> &mut Self[src]

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

pub fn detached(&mut self) -> &mut Self[src]

[-d] -

pub fn horizontal(&mut self) -> &mut Self[src]

[-h] - full height

pub fn vertical(&mut self) -> &mut Self[src]

[-v] - full width

pub fn size(&mut self, size: &'a PaneSize) -> &mut Self[src]

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

pub fn src_pane<S: Into<Cow<'a, str>>>(&mut self, src_pane: S) -> &mut Self[src]

[-s src-pane] - src-pane

pub fn dst_pane<S: Into<Cow<'a, str>>>(&mut self, dst_pane: S) -> &mut Self[src]

[-t dst-pane] - dst-pane

pub fn output(&self) -> Result<TmuxOutput, Error>[src]

Trait Implementations

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

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

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

impl<'a> From<&'_ TmuxCommand<'a>> for MovePane<'a>[src]

impl<'a> From<TmuxCommand<'a>> 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.